diff options
| author | ivan <ivan> | 2002-09-09 22:57:34 +0000 |
|---|---|---|
| committer | ivan <ivan> | 2002-09-09 22:57:34 +0000 |
| commit | 91292eadb6254740a9b72e5dc95f575593f6a35d (patch) | |
| tree | 151034df74950f185562b5e3fff6515a263ce7cb /FS/bin/freeside-cc-receipts-report | |
| parent | eb46cd3822674cecdc474b175b1e6f3ede8cc49b (diff) | |
allow . in untaint_argv, for usernames
Diffstat (limited to 'FS/bin/freeside-cc-receipts-report')
| -rwxr-xr-x | FS/bin/freeside-cc-receipts-report | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/FS/bin/freeside-cc-receipts-report b/FS/bin/freeside-cc-receipts-report index 06e3aba81..136851aec 100755 --- a/FS/bin/freeside-cc-receipts-report +++ b/FS/bin/freeside-cc-receipts-report @@ -206,7 +206,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; } } @@ -245,7 +245,7 @@ user: From the mapsecrets file - see config.html from the base documentation =head1 VERSION -$Id: freeside-cc-receipts-report,v 1.4 2002-03-07 19:50:23 jeff Exp $ +$Id: freeside-cc-receipts-report,v 1.5 2002-09-09 22:57:34 ivan Exp $ =head1 BUGS |
