We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Since version 1.22.0 it is not possible to download files attached to releases that are flagged as draft. This used to work up until version 1.21.11.
Steps to reproduce:
I'd expect the browser to download / open the file. Instead nothing happens (dev tools show a 404 is returned).
I have prepared a script that reproduces the issue using docker containers, see https://github.com/TobiLabu/reproduce-gitea-issue. You can set the version of Gitea in the .env file to verify that this used to work in earlier versions.
Please let me know if any info is missing.
1.22.0
Yes
https://gist.github.com/TobiLabu/3e661a79630a574313988fa415427408
No response
2.45.1
Linux
I have reproduced the issue at https://demo.gitea.com/ as well as on a private dockerized instance and a fresh instance using Docker Compose.
PostgreSQL
The text was updated successfully, but these errors were encountered:
42718d3
Allow downloading attachments of draft releases (go-gitea#31369)
5b96f0b
Fix go-gitea#31362
Allow downloading attachments of draft releases (#31369) (#31380)
3f44844
Backport #31369 by Zettat123 Fix #31362 Co-authored-by: Zettat123 <[email protected]>
Thanks for the quick fix!
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
Description
Since version 1.22.0 it is not possible to download files attached to releases that are flagged as draft. This used to work up until version 1.21.11.
Steps to reproduce:
I'd expect the browser to download / open the file. Instead nothing happens (dev tools show a 404 is returned).
I have prepared a script that reproduces the issue using docker containers, see https://github.com/TobiLabu/reproduce-gitea-issue.
You can set the version of Gitea in the .env file to verify that this used to work in earlier versions.
Please let me know if any info is missing.
Gitea Version
1.22.0
Can you reproduce the bug on the Gitea demo site?
Yes
Log Gist
https://gist.github.com/TobiLabu/3e661a79630a574313988fa415427408
Screenshots
No response
Git Version
2.45.1
Operating System
Linux
How are you running Gitea?
I have reproduced the issue at https://demo.gitea.com/ as well as on a private dockerized instance and a fresh instance using Docker Compose.
Database
PostgreSQL
The text was updated successfully, but these errors were encountered: