Service Desk wrong link for attachments
Attachments in Service Desk (e.g. PDFs) are converted to incomplete links in the repsond email (when using the new_note.md template). These links are missing the url of the GitLab instance. Therefore the files cannot be accessed/downloaded through the link.
Steps to reproduce
- Create Issue via Service Desk.
- Comment on Issue with a PDF as an attachment.
- Open respond email which contains the comment and link to the PDF.
- Click on link.
This bug occurs in the (self hosted) GitLab Community Edition 13.3.6 and on gitlab.com.
What is the current bug behavior?
The link in the email has the following format which is missing the url of the GitLab instance.
<p data-sourcepos="7:1-7:126" dir="auto"><a href="/group/subgroup/project/uploads/0f50b04c611f9447ecc6194ab5807ffb/filename.pdf" data-link="true" class="gfm">filename.pdf</a></p>
What is the expected correct behavior?
When I add the url of the GitLab instance in markdown of the comment (after uploading the PDF file in the comment and before sending the comment) the email constains the following working link:
<p data-sourcepos="7:1-7:177" dir="auto"><a href="https://url_of_gitlab_instance.de/group/subgroup/project/uploads/5ed963600ae275db19d5016e38fbd59d/filename.pdf">filename.pdf</a></p>
Add url of GitLab instance to link.