You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gitea/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>
1 year ago
..
source Another round of `db.DefaultContext` refactor (#27103) (#27262) 1 year ago
auth.go Fix attachment download bug (#27486) (#27571) 1 year ago
auth_test.go Fix attachment download bug (#27486) (#27571) 1 year ago
basic.go Fix attachment download bug (#27486) (#27571) 1 year ago
group.go Remove `Named` interface (#26913) 1 year ago
httpsign.go Remove `Named` interface (#26913) 1 year ago
interface.go Reduce usage of `db.DefaultContext` (#27073) 1 year ago
oauth2.go Fix attachment download bug (#27486) (#27571) 1 year ago
reverseproxy.go Fix attachment download bug (#27486) (#27571) 1 year ago
session.go Remove `Named` interface (#26913) 1 year ago
signin.go Reduce usage of `db.DefaultContext` (#27073) 1 year ago
source.go Implement FSFE REUSE for golang files (#21840) 2 years ago
sspi.go Make SSPI auth mockable (#27036) 1 year ago
sspiauth_posix.go Make SSPI auth mockable (#27036) 1 year ago
sspiauth_windows.go Make SSPI auth mockable (#27036) 1 year ago
sync.go Implement FSFE REUSE for golang files (#21840) 2 years ago