Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Send 404 immediately for known public requests
Instead of further handling requests to `public` which causes issues like #11088, immediately terminate requests to directories `js`, `css`, `fomantic` if no file is found which is checked against a hardcoded list. Maybe there is a way to retrieve the top-level entries below `public` in a dynamic fashion. I also added `fomantic` to the reserved usernames and sorted the list. Fixes: #11088
- Loading branch information