Skip to content

Commit

Permalink
Fix to correctly parse URL upon download
Browse files Browse the repository at this point in the history
  • Loading branch information
iliajie committed Dec 10, 2023
1 parent 2dd982a commit 8d011dd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion authentic.pl
Original file line number Diff line number Diff line change
Expand Up @@ -1395,7 +1395,7 @@ sub theme_redirect
my ($url) = $arg2;

if (!$relredir) {
($url) = $arg2 =~ /\/\/\S+?(\/\S*)/;
($url) = $arg2 =~ /\/\/\S+?(\/.*)/;
}
$url = "$prefix$url" if ($url && $noredir);
theme_redirect_url_alterer(\$url);
Expand Down

0 comments on commit 8d011dd

Please sign in to comment.