DannyArends/DaNode

Files with names containing whitespace in `./www/*/` are not found; when requesting from Web Browser.

BoQsc opened this issue ยท 3 comments

BoQsc commented

Here you can see me placing a file named 123 123 into ./www/*/ directory
image

The requested file is not found on the server due to browsers HTML URL Encoding.
image

I think I disallowed that because of canonical URLs and the high possibility of it being exploited.
I can see if there would be a work-around for static files.

Be aware that files without an extension aren't allowed either since the mime-type of the file cannot be figured out

Should be fixed in a38cc78

I will need to still figure out that this doesn't break my own website/canonical URLs

Let me know if it works

BoQsc commented

Let me know if it works

Well done!

2021-12-15.19-34-46.mp4