mirror of
https://github.com/webmin/webmin.git
synced 2026-05-26 08:00:31 +01:00
Don't include URL params in saved filename.
https://sourceforge.net/tracker/?func=detail&atid=117457&aid=3089852&group_id=17457
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user