You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When a file is manually attached to a release, on the release page Gitea uses a URL with a guid number to link to the file. This means you cannot right-click - save-as because the file saves with a numeric name and no extension rather than its correct filename as displayed on the release page.
If you enter this style of URL manually in the browser, then Gitea does serve the correct file, so it appears the only problem is the URL being used on the page, the functionality being used to serve the file is all working.
Screenshots
The text was updated successfully, but these errors were encountered:
Gitea does serve the correct file but still with the guid-style numeric name, so right clicking and doing save-as still does not work - I assume the numeric filename must be set in the content-disposition of the response. So it is not just as simple as putting the correct link on the Releases page.
[x]
):Description
When a file is manually attached to a release, on the release page Gitea uses a URL with a guid number to link to the file. This means you cannot right-click - save-as because the file saves with a numeric name and no extension rather than its correct filename as displayed on the release page.
http://giteaurl/attachments/69d80049-7826-4e98-9328-b87f43ff6d63
The attached file should be linked with a github-style URL like this to enable downloading and url sharing
http://giteaurl/organization/repo/releases/download/releasetag/filename.xxx
If you enter this style of URL manually in the browser, then Gitea does serve the correct file, so it appears the only problem is the URL being used on the page, the functionality being used to serve the file is all working.
Screenshots
The text was updated successfully, but these errors were encountered: