forgejo/routers
Gusted cfebef4f82
[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

(cherry picked from commit f0e0696278)
(cherry picked from commit 75d8066908)
(cherry picked from commit 4d0a1e0637)
(cherry picked from commit 5f40a485da)
(cherry picked from commit c4cb7812e3)
(cherry picked from commit d31ce2f03d)
2024-01-28 10:54:59 +01:00
..
api [GITEA] Make HTTPS schema default for Swagger 2024-01-28 10:54:59 +01:00
common Rework markup link rendering (#26745) 2024-01-15 08:49:24 +00:00
install [GITEA] Add password length check on install page 2024-01-28 09:22:15 +01:00
private [CLI] implement forgejo-cli 2024-01-28 07:47:32 +01:00
utils Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
web [GITEA] Fix NPE in UsernameSubRoute 2024-01-28 10:54:59 +01:00
init.go [API] Forgejo API /api/forgejo/v1 2024-01-28 08:13:13 +01:00