diff options
author | yp05327 <576951401@qq.com> | 2023-02-26 19:22:42 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-02-26 18:22:42 +0800 |
commit | f1bde2fe008ab6e34dd08bb43612e5d81c5e68e3 (patch) | |
tree | 5df6d076871df6bc0a4b77fb6fe66baebf96f770 /services/attachment | |
parent | 357042279bd9fed656a4eca26f50dead79e829c4 (diff) | |
download | gitea-f1bde2fe008ab6e34dd08bb43612e5d81c5e68e3.tar.gz gitea-f1bde2fe008ab6e34dd08bb43612e5d81c5e68e3.zip |
Return 404 instead of 403 if user can not access the repo (#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: Lunny Xiao <xiaolunwen@gmail.com>
Diffstat (limited to 'services/attachment')
0 files changed, 0 insertions, 0 deletions