projects
/
webmin.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5a6ef47
)
Don't include URL params in saved filename.
author
Jamie Cameron
<jcameron@webmin.com>
Tue, 19 Oct 2010 04:16:25 +0000
(21:16 -0700)
committer
Jamie Cameron
<jcameron@webmin.com>
Tue, 19 Oct 2010 04:16:25 +0000
(21:16 -0700)
https://sourceforge.net/tracker/?func=detail&atid=117457&aid=
3089852
&group_id=17457
updown/updown-lib.pl
patch
|
blob
|
history
diff --git
a/updown/updown-lib.pl
b/updown/updown-lib.pl
index
6942068
..
2b86857
100755
(executable)
--- a/
updown/updown-lib.pl
+++ b/
updown/updown-lib.pl
@@
-125,7
+125,9
@@
for($i=0; $_[0]->{"url_$i"}; $i++) {
$progress_callback_count = $i;
local $path;
if (-d $_[0]->{'dir'}) {
- if ($_[0]->{"page_$i"} =~ /([^\/]+)$/) {
+ local $page = $_[0]->{"page_$i"};
+ $page =~ s/\?.*$//;
+ if ($page =~ /([^\/]+)$/) {
$path = "$_[0]->{'dir'}/$1";
}
else {