projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
better error reporting on unparsable filenames
[freeside.git]
/
httemplate
/
misc
/
upload-batch.cgi
diff --git
a/httemplate/misc/upload-batch.cgi
b/httemplate/misc/upload-batch.cgi
index
cc53466
..
da5e41c
100644
(file)
--- a/
httemplate/misc/upload-batch.cgi
+++ b/
httemplate/misc/upload-batch.cgi
@@
-2,7
+2,7
@@
my $fh = $cgi->upload('batch_results');
my $filename = $cgi->param('batch_results');
my $fh = $cgi->upload('batch_results');
my $filename = $cgi->param('batch_results');
- $filename =~ /^.*[\/\\]([^\/\\]+)$/ or die;
+ $filename =~ /^.*[\/\\]([^\/\\]+)$/ or die
"unparsable filename: $filename\n"
;
my $paybatch = $1;
my $error = defined($fh)
my $paybatch = $1;
my $error = defined($fh)