projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
e3aaca5
)
accept anything in ARGV for -d Date::Parse
author
ivan
<ivan>
Mon, 3 Apr 2000 02:32:57 +0000
(
02:32
+0000)
committer
ivan
<ivan>
Mon, 3 Apr 2000 02:32:57 +0000
(
02:32
+0000)
FS/bin/freeside-bill
patch
|
blob
|
history
diff --git
a/FS/bin/freeside-bill
b/FS/bin/freeside-bill
index
417df76
..
208f920
100755
(executable)
--- a/
FS/bin/freeside-bill
+++ b/
FS/bin/freeside-bill
@@
-72,7
+72,9
@@
foreach $cust_main (
sub untaint_argv {
foreach $_ ( $[ .. $#ARGV ) { #untaint @ARGV
sub untaint_argv {
foreach $_ ( $[ .. $#ARGV ) { #untaint @ARGV
- $ARGV[$_] =~ /^([\w\-\/]*)$/ || die "Illegal arguement \"$ARGV[$_]\"";
+ #$ARGV[$_] =~ /^([\w\-\/]*)$/ || die "Illegal arguement \"$ARGV[$_]\"";
+ # Date::Parse
+ $ARGV[$_] =~ /^(.*)$/ || die "Illegal arguement \"$ARGV[$_]\"";
$ARGV[$_]=$1;
}
}
$ARGV[$_]=$1;
}
}
@@
-112,7
+114,7
@@
customers. Otherwise, bills all customers.
=head1 VERSION
=head1 VERSION
-$Id: freeside-bill,v 1.
3 1999-10-04 08:23:26
ivan Exp $
+$Id: freeside-bill,v 1.
4 2000-04-03 02:32:57
ivan Exp $
=head1 BUGS
=head1 BUGS