Closed
Description
Description
The issue attachment API return the following:
[
{
"id": 58540,
"name": "Screenshot_20230919_133134.png",
"size": 41611,
"download_count": 16,
"created_at": "2023-09-19T08:37:33Z",
"uuid": "c9bf83dc-8d08-460e-9986-ee7f292bccd7",
"browser_download_url": "https://codeberg.org/api/repos/gitnex/GitNex/releases/0/assets/58540"
},
{
"id": 58541,
"name": "Screenshot_20230919_133201.png",
"size": 41475,
"download_count": 17,
"created_at": "2023-09-19T08:37:33Z",
"uuid": "e5f07ce2-4179-43ae-81a2-09e4d319aab2",
"browser_download_url": "https://codeberg.org/api/repos/gitnex/GitNex/releases/0/assets/58541"
},
{
"id": 58542,
"name": "Screenshot_20230919_133224.png",
"size": 19559,
"download_count": 16,
"created_at": "2023-09-19T08:37:34Z",
"uuid": "6bed5cd4-2f82-4566-bea7-605d12af498d",
"browser_download_url": "https://codeberg.org/api/repos/gitnex/GitNex/releases/0/assets/58542"
}
]
This is a possible bug because the browser_download_url
is broken to me. This may also affect the comments attachment API too.
The browser_download_url
should be a proper downloadable URL like how it is in the releases.
Gitea Version
1.20.3
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?
Codeberg and Gitea 1.20.3 for testing on local setup.
https://codeberg.org/api/v1/repos/gitnex/GitNex/issues/1300/assets
Database
None