You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
forgejo/modules/public
silverwind 5180deb819
Send 404 immediately for known public requests (#11117)
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
4 years ago
..
dynamic.go Use gitea forked macaron (#7933) 5 years ago
public.go Send 404 immediately for known public requests (#11117) 4 years ago
public_bindata.go Rename scripts to build and add revive command as a new build tool command (#10942) 4 years ago
static.go Implement "embedded" command to extract static resources (#9982) 4 years ago