summaryrefslogtreecommitdiff
path: root/FS/bin/freeside-credit-report
diff options
context:
space:
mode:
authorivan <ivan>2002-09-09 22:57:32 +0000
committerivan <ivan>2002-09-09 22:57:32 +0000
commitdb3ef51ceabcc2864b1b019fcf93d0529ca1c78d (patch)
tree0846ba43a7f70577887b4f29cdda7955cf1db93f /FS/bin/freeside-credit-report
parent09d00c1cc5c90314f47d84e65c12cd2a9704a727 (diff)
allow . in untaint_argv, for usernames
Diffstat (limited to 'FS/bin/freeside-credit-report')
-rwxr-xr-xFS/bin/freeside-credit-report4
1 files changed, 2 insertions, 2 deletions
diff --git a/FS/bin/freeside-credit-report b/FS/bin/freeside-credit-report
index 7699daf4d..da01d3bd5 100755
--- a/FS/bin/freeside-credit-report
+++ b/FS/bin/freeside-credit-report
@@ -160,7 +160,7 @@ if($email && $opt_m)
# subroutines
sub untaint_argv {
foreach $_ ( $[ .. $#ARGV ) { #untaint @ARGV
- $ARGV[$_] =~ /^([\w\-\/ :]*)$/ || die "Illegal argument \"$ARGV[$_]\"";
+ $ARGV[$_] =~ /^([\w\-\/ :\.]*)$/ || die "Illegal argument \"$ARGV[$_]\"";
$ARGV[$_]=$1;
}
}
@@ -199,7 +199,7 @@ user: From the mapsecrets file - see config.html from the base documentation
=head1 VERSION
-$Id: freeside-credit-report,v 1.4 2002-03-07 19:50:24 jeff Exp $
+$Id: freeside-credit-report,v 1.4.4.1 2002-09-09 22:57:32 ivan Exp $
=head1 BUGS