Closed
Description
- Gitea version (or commit ref):
1.15.0+dev-165-g5e85cdad2
- Can you reproduce the bug at https://try.gitea.io: https://try.gitea.io/silverwind/symlink-test/issues/6#issuecomment-77653
Description
Pasting an image results in it being linked on the wrong URL:
https://try.gitea.io/silverwind/symlink-test/attachments/265b512e-f7a7-46a0-922c-7afe1bc0f530
But it should be
https://try.gitea.io/attachments/265b512e-f7a7-46a0-922c-7afe1bc0f530
Markdown and HTML:

<a href="/silverwind/symlink-test/attachments/265b512e-f7a7-46a0-922c-7afe1bc0f530" rel="nofollow"><img src="/silverwind/symlink-test/attachments/265b512e-f7a7-46a0-922c-7afe1bc0f530" alt="image"></a>
Image attachments via dropzone are not affected, see comment below.