projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
d8ff6db
)
better error reporting on unparsable filenames
author
ivan
<ivan>
Fri, 28 May 2004 11:21:46 +0000
(11:21 +0000)
committer
ivan
<ivan>
Fri, 28 May 2004 11:21:46 +0000
(11:21 +0000)
httemplate/misc/upload-batch.cgi
patch
|
blob
|
history
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)