Closed ZweiEuro closed 2 months ago
I noticed the double bars "//" on download links and wasn't being able to fix it. Thanks a lot! Since the downloads worked anyway I didn't give it too much attention.
@surtarso Yes they work anyways, but not through something like an nginx reverse proxy. For me, my proxy instantly threw a 404 as it can't resolve a '//' link at all.
Glad I could help!
The download paths do not look accurate when using a relative subdirectory to list its contents. This PR sets the download link relative to the current script location on the global server-root; making it more resiliant. The rest of the paths are uneffected (just renamend to relpath)