-
-
Notifications
You must be signed in to change notification settings - Fork 6.2k
Closed
Labels
issue/needs-feedbackFor bugs, we need more details. For features, the feature must be described in more detailFor bugs, we need more details. For features, the feature must be described in more detailtopic/apiConcerns mainly the APIConcerns mainly the APItype/bug
Description
Description
In version 1.22.6, I was able to download a file using the API endpoints:
- /repos/{owner}/{repo}/raw/{filepath}?branch
- /repos/{owner}/{repo}/raw/{filepath}
However, in version 1.23.0, while the endpoint /repos/{owner}/{repo}/raw/{filepath} still works, the endpoint /repos/{owner}/{repo}/raw/{filepath}?branch returns a 404 error, even though the branch exists.
Gitea Version
1.23.0
Can you reproduce the bug on the Gitea demo site?
Yes
Log Gist
No response
Screenshots
No response
Git Version
No response
Operating System
No response
How are you running Gitea?
downloads (the bug happens in https://demo.gitea.com/ too)
systemd (RHEL8)
Database
MySQL/MariaDB
Metadata
Metadata
Assignees
Labels
issue/needs-feedbackFor bugs, we need more details. For features, the feature must be described in more detailFor bugs, we need more details. For features, the feature must be described in more detailtopic/apiConcerns mainly the APIConcerns mainly the APItype/bug