aperezdc/ngx-fancyindex

Special symbol directory names throw 404 if no trailing slash

ViRb3 opened this issue · 1 comments

ViRb3 commented

Not sure if this is fixed by #95, but I have a folder intentionally named: !@#$%^&()_+'{}. Now, when I copy the URL as-is and paste it in a new tab, it opens properly. However, if I remove the trailing slash, I get a 404. This behavior does not appear with normal folders - they will work even without a trailing slash.

I think you are right and this should be fixed by #95, but it wouldn't hurt to add some test cases to make sure that file names like the one you mention work properly, so let's use this issue for tracking that.