forgejo/routers/web/user
Gusted d31ce2f03d
[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)
2024-01-22 18:13:41 +00:00
..
setting [SECURITY] Rework long-term authentication 2024-01-22 13:41:21 +00:00
avatar.go
code.go
home.go [GITEA] Fix NPE in UsernameSubRoute 2024-01-22 18:13:41 +00:00
home_test.go Include public repos in doer's dashboard for issue search (#28304) 2023-12-07 13:26:18 +08:00
main_test.go
notification.go
package.go Fix some RPM registry flaws (#28782) 2024-01-19 11:37:10 +00:00
profile.go Revert adding htmx until we finaly decide to add it (#28879) 2024-01-21 21:42:35 +08:00
search.go
stop_watch.go
task.go