gitea/routers
zeripath a4a6a5987b
Return 404 NotFound if requested attachment does not exist (#20886)
Add code to test if GetAttachmentByID returns an ErrAttachmentNotExist error
and return NotFound instead of InternalServerError

Fix #20884

Signed-off-by: Andrew Thornton <art27@cantab.net>
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
2022-08-24 13:36:21 +01:00
..
api Return 404 NotFound if requested attachment does not exist (#20886) 2022-08-24 13:36:21 +01:00
common
install
private Add migrate repo archiver and packages storage support on command line (#20757) 2022-08-16 12:05:15 +08:00
utils refactor webhook *NewPost (#20729) 2022-08-11 17:48:23 +02:00
web refactor webhook *EditPost (#20780) 2022-08-23 02:52:35 -04:00
init.go