Description
- Gitea version (or commit ref): 1.15.2
- Git version: 2.17.1
- Operating system: Linux
- Downloaded gitea from binary (
https://dl.gitea.io/gitea/1.15.2/gitea-1.15.2-linux-amd64.xz
) - Running as
systemd
service - Distro: Ubuntu Server 18.04.5 LTS
- Downloaded gitea from binary (
- Database:
- SQLite
- Can you reproduce the bug at https://try.gitea.io:
- No
- Log gist:
- see attachement
gitea.log
- see attachement
Description
I'm working on a Windows PC.
While creating an issue or creating/editing a comment I like to add screenshots. I copy the image file by selecting it in the file explorer, press "Ctrl + c" on keyboard, change to Windows Edge where I am creating the comment, press "Ctrl + v" after the cursor is in the location where I want the image.
The image gets added as and the link is added after file upload completes. When selecting preview the image does not get displayed but I see a "broken image link" pictogram.
I have noticed that I need to edit the automatically generated link from /gitea/attachments/<image_id>
to /attachments/<image_id>
and then I get the image preview.
Images added in older comments/issues are currently displayed with the "broken image link" pictogram.
It seems that there have been some changes to how the links are being created.
Hosting environment
We are using an apache as reverse proxy for http to https redirect.
The gitea base-URL is configured as: https://<hostname>/gitea/