download-directory / download-directory.github.io

Web App: Download just a sub directory from a GitHub repo.
https://download-directory.github.io
MIT License
1.25k stars 117 forks source link

&filename not being applied to hard links #116

Closed BananaChad closed 4 months ago

BananaChad commented 4 months ago

when opening a hard link, the mitigation for safesearch (#113) blocks the &filename attribute to not apply at all causing the file to not be renamed, for example in the link given in info when opened as a hard link leaves the filename as asmrdoob three.js dev build.zip, instead of three-js-build.zip, this happens because in the text box where the github repo folder link is, the &filename gets removed so that it doesnt break the download, however because of this it never gets applied when the tool finished its job, thus leaving the filename unchanged.