mirror of
1
Fork 0
forgejo/services/auth
Giteabot f142ae18c0
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>
(cherry picked from commit 7b96f71bc7)
2023-11-14 13:17:11 +01:00
..
source Improve LDAP group config documentation (#21227) (#26921) 2023-09-08 08:10:08 +02:00
auth.go Fix attachment download bug (#27486) (#27570) 2023-11-14 13:17:11 +01:00
auth_test.go Fix attachment download bug (#27486) (#27570) 2023-11-14 13:17:11 +01:00
basic.go Fix attachment download bug (#27486) (#27570) 2023-11-14 13:17:11 +01: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 [GITEA] rework long-term authentication 2023-10-05 08:50:54 +02:00
oauth2.go Fix attachment download bug (#27486) (#27570) 2023-11-14 13:17:11 +01:00
reverseproxy.go Fix attachment download bug (#27486) (#27570) 2023-11-14 13:17:11 +01: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-24 07:58:56 +02:00
sync.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00