Image attachments in issues have wrong embedded URL / link
Created by: Muffinman
GitLab version: 6.2.0
When attaching an image to an issue, the embedded preview (and link on the preview image) seems to go to a 404 page. The bottom right attachment link works as expected.
Relevant section of HTML:
<div class="note-attachment">
<a href="/uploads/note/attachment/144/Home_-_Office_Kit.jpg" target="_blank">
<img alt="Home_-_office_kit" class="note-image-attach" src="/uploads/note/attachment/144/Home_-_Office_Kit.jpg">
</a>
<div class="attachment pull-right">
<a href="/files/note/144/Home_-_Office_Kit.jpg" target="_blank"><i class="icon-paper-clip"></i>
Home_-_Office_Kit.jpg
</a>
</div>
</div>