projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
b181fa8
)
properly quote password as well as finger
author
ivan
<ivan>
Sun, 25 Aug 2002 02:26:30 +0000
(
02:26
+0000)
committer
ivan
<ivan>
Sun, 25 Aug 2002 02:26:30 +0000
(
02:26
+0000)
FS/FS/part_export/shellcommands.pm
patch
|
blob
|
history
diff --git
a/FS/FS/part_export/shellcommands.pm
b/FS/FS/part_export/shellcommands.pm
index
d69848f
..
3e9ac4a
100644
(file)
--- a/
FS/FS/part_export/shellcommands.pm
+++ b/
FS/FS/part_export/shellcommands.pm
@@
-30,6
+30,7
@@
sub _export_command {
${$_} = $svc_acct->getfield($_) foreach $svc_acct->fields;
}
$finger = shell_quote $finger;
${$_} = $svc_acct->getfield($_) foreach $svc_acct->fields;
}
$finger = shell_quote $finger;
+ $_password = shell_quote $_password;
$domain = $svc_acct->domain;
$crypt_password = ''; #surpress "used only once" warnings
$crypt_password = crypt( $svc_acct->_password,
$domain = $svc_acct->domain;
$crypt_password = ''; #surpress "used only once" warnings
$crypt_password = crypt( $svc_acct->_password,
@@
-52,7
+53,9
@@
sub _export_replace {
${"old_$_"} = $old->getfield($_) foreach $old->fields;
${"new_$_"} = $new->getfield($_) foreach $new->fields;
}
${"old_$_"} = $old->getfield($_) foreach $old->fields;
${"new_$_"} = $new->getfield($_) foreach $new->fields;
}
+ $old__password = shell_quote $old__password;
$new_finger = shell_quote $new_finger;
$new_finger = shell_quote $new_finger;
+ $new__password = shell_quote $new__password;
$new_domain = $new->domain;
$new_crypt_password = ''; #surpress "used only once" warnings
$new_crypt_password = crypt( $new->_password,
$new_domain = $new->domain;
$new_crypt_password = ''; #surpress "used only once" warnings
$new_crypt_password = crypt( $new->_password,