Skip to content

Commit

Permalink
MIR-1300 encode directory path as well
Browse files Browse the repository at this point in the history
  • Loading branch information
toKrause authored and kkrebs committed Apr 9, 2024
1 parent a41e008 commit ff77a06
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -428,7 +428,7 @@
if (lastSlashInName > 0) {
newName = newName.substr(lastSlashInName);
}
$(this).attr("href", href + "&file2=" + directory + encodeURI(newName));
$(this).attr("href", href + "&file2=" + encodeURI(directory) + encodeURI(newName));
}
});
}
Expand Down

0 comments on commit ff77a06

Please sign in to comment.