gitea/services/auth
Giteabot 7b96f71bc7
Fix attachment download bug (#27486) (#27570)
Backport #27486 by @lunny

Fix #27204

This PR allows `/<username>/<reponame>/attachments/<uuid>` access with
personal access token and also changed attachments API download url to
it so it can be download correctly.

Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
2023-10-11 04:38:50 +02:00
..
source Improve LDAP group config documentation (#21227) (#26921) 2023-09-05 22:41:10 -04:00
auth_test.go Fix attachment download bug (#27486) (#27570) 2023-10-11 04:38:50 +02:00
auth.go Fix attachment download bug (#27486) (#27570) 2023-10-11 04:38:50 +02:00
basic.go Fix attachment download bug (#27486) (#27570) 2023-10-11 04:38:50 +02:00
group.go Fix the error message when the token is incorrect (#25701) (#25836) 2023-07-12 10:18:27 +00:00
httpsign.go refactor auth interface to return error when verify failure (#22119) 2022-12-28 13:53:28 +08:00
interface.go Improve template system and panic recovery (#24461) 2023-05-04 14:36:34 +08:00
middleware.go Decouple the different contexts from each other (#24786) 2023-05-21 09:50:53 +08:00
oauth2.go Fix attachment download bug (#27486) (#27570) 2023-10-11 04:38:50 +02:00
reverseproxy.go Fix attachment download bug (#27486) (#27570) 2023-10-11 04:38:50 +02:00
session.go refactor auth interface to return error when verify failure (#22119) 2022-12-28 13:53:28 +08:00
signin.go Modify OAuth login ui and fix display name, iconurl related logic (#25030) (#25161) 2023-06-09 10:59:18 +00:00
source.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
sspi_windows.go Fix SSPI auth panic (#25955) (#25969) 2023-07-18 22:28:06 +00:00
sync.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00