API endpoint /repos/{owner}/{repo}/raw/{filepath}?branch returns 404 in version 1.23.0 #33292
Labels
issue/needs-feedback
For bugs, we need more details. For features, the feature must be described in more detail
topic/api
Concerns mainly the API
type/bug
Description
In version 1.22.6, I was able to download a file using the API endpoints:
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
The text was updated successfully, but these errors were encountered: