gitea/routers
Yarden Shoham 1bc4ffc337
Return 404 instead of 403 if user can not access the repo (#23155) (#23158)
Backport #23155

Fixes https://github.com/go-gitea/gitea/issues/23150

Before:

![image](https://user-images.githubusercontent.com/18380374/221390802-2317c6bc-d163-4def-b68b-6bb297143fe2.png)

After:

![image](https://user-images.githubusercontent.com/18380374/221390823-87490351-39c3-4a40-b1d2-11fc5b85fa24.png)

Co-authored-by: yp05327 <576951401@qq.com>
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
2023-02-26 20:20:44 +08:00
..
api Add force_merge to merge request and fix checking mergable (#23010) 2023-02-21 08:42:07 -06:00
common Refactor the setting to make unit test easier (#22405) 2023-02-20 00:12:01 +08:00
install Refactor the setting to make unit test easier (#22405) 2023-02-20 00:12:01 +08:00
private Refactor the setting to make unit test easier (#22405) 2023-02-20 00:12:01 +08:00
utils Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
web Return 404 instead of 403 if user can not access the repo (#23155) (#23158) 2023-02-26 20:20:44 +08:00
init.go Avoid warning for system setting when start up (#23054) (#23116) 2023-02-24 16:46:11 -05:00