X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=FS%2FFS%2Fpart_export%2Fshellcommands.pm;h=9fad36dad0653e13c053094699a31b5b91d04669;hb=e7fc7ebf927a7ab7159ad3cc8fa1530d7ce22a5a;hp=1eb0d8367440ce1d25ddbf6ababca927cc6eb9ec;hpb=b0011320cc2c33233ee694c61903667d2d3d8e5b;p=freeside.git diff --git a/FS/FS/part_export/shellcommands.pm b/FS/FS/part_export/shellcommands.pm index 1eb0d8367..9fad36dad 100644 --- a/FS/FS/part_export/shellcommands.pm +++ b/FS/FS/part_export/shellcommands.pm @@ -63,7 +63,7 @@ sub _export_command { #eventually should check a "password-encoding" field if ( length($svc_acct->_password) == 13 || $svc_acct->_password =~ /^\$(1|2a?)\$/ ) { - $crypt_password = $svc_acct->_password; + $crypt_password = shell_quote $svc_acct->_password; } else { $crypt_password = crypt( $svc_acct->_password, @@ -98,7 +98,7 @@ sub _export_replace { #eventuall should check a "password-encoding" field if ( length($new->_password) == 13 || $new->_password =~ /^\$(1|2a?)\$/ ) { - $new_crypt_password = $new->_password; + $new_crypt_password = shell_quote $new->_password; } else { $new_crypt_password = crypt( $new->_password, $saltset[int(rand(64))].$saltset[int(rand(64))]