mirror of
1
Fork 0
forgejo/services/auth
Giteabot 9da92835d1
Fix attachment download bug (#27486) (#27571)
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:39:12 +02:00
..
source Another round of `db.DefaultContext` refactor (#27103) (#27262) 2023-09-25 19:24:35 +02:00
auth.go Fix attachment download bug (#27486) (#27571) 2023-10-11 04:39:12 +02:00
auth_test.go Fix attachment download bug (#27486) (#27571) 2023-10-11 04:39:12 +02:00
basic.go Fix attachment download bug (#27486) (#27571) 2023-10-11 04:39:12 +02:00
group.go Remove `Named` interface (#26913) 2023-09-05 15:58:30 +00:00
httpsign.go Remove `Named` interface (#26913) 2023-09-05 15:58:30 +00:00
interface.go Reduce usage of `db.DefaultContext` (#27073) 2023-09-14 17:09:32 +00:00
oauth2.go Fix attachment download bug (#27486) (#27571) 2023-10-11 04:39:12 +02:00
reverseproxy.go Fix attachment download bug (#27486) (#27571) 2023-10-11 04:39:12 +02:00
session.go Remove `Named` interface (#26913) 2023-09-05 15:58:30 +00:00
signin.go Reduce usage of `db.DefaultContext` (#27073) 2023-09-14 17:09:32 +00:00
source.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
sspi.go Make SSPI auth mockable (#27036) 2023-09-17 23:32:56 +00:00
sspiauth_posix.go Make SSPI auth mockable (#27036) 2023-09-17 23:32:56 +00:00
sspiauth_windows.go Make SSPI auth mockable (#27036) 2023-09-17 23:32:56 +00:00
sync.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00