]> source.dussan.org Git - gitea.git/commit
Fix users cannot visit issue attachment bug (#25019) (#25027)
authorGiteabot <teabot@gitea.io>
Thu, 1 Jun 2023 17:22:26 +0000 (13:22 -0400)
committerGitHub <noreply@github.com>
Thu, 1 Jun 2023 17:22:26 +0000 (19:22 +0200)
commit73ae6b21d1b993e9936224b79b0bc743dbf382fc
treee4e1c2d8fc82084fc741b09d8346fc4f194fe813
parentb83e4f295d91b4d480d925b411a93e9e151790d1
Fix users cannot visit issue attachment bug (#25019) (#25027)

Backport #25019 by @lunny

Caused by #24362

Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
Co-authored-by: John Olheiser <john.olheiser@gmail.com>
routers/web/repo/attachment.go
tests/integration/attachment_test.go