forgejo/routers
Gusted f0e0696278
[GITEA] Fix NPE in UsernameSubRoute
- When the user is not found in `reloadparam`, early return when the
user is not found to avoid calling `IsUserVisibleToViewer` which in turn
avoids causing a NPE.
- This fixes the case that a 500 error and 404 error is shown on the
same page.
- Add integration test for non-existant user RSS.
- Regression by c6366089df
2023-12-22 17:53:18 +01:00
..
api [GITEA] Revert "Deprecate query string auth tokens (#28390)" 2023-12-18 19:30:08 +01:00
common Clean up template locale usage (#27856) 2023-10-31 22:11:48 +08:00
install [GITEA] Add password length check on install page 2023-12-18 16:32:02 +01:00
private [CLI] implement forgejo-cli 2023-12-18 14:39:08 +01:00
utils
web [GITEA] Fix NPE in UsernameSubRoute 2023-12-22 17:53:18 +01:00
init.go [API] Forgejo API /api/forgejo/v1 2023-12-18 15:10:54 +01:00