Direct links to design management images are not rendered properly in markdown
Summary
A URL to a design management image like this: https://gitlab.com/gitlab-org/gitlab/-/issues/39467/designs/releases__milestone.png
gets rendered in markdown like this: #39467[releases__milestone.png].
Clicking on the link navigates to the issue with a "Could not find design" error message:
This is because the link does not include the .png
extension.
Steps to reproduce
Paste a link like https://gitlab.com/gitlab-org/gitlab/-/issues/39467/designs/releases__milestone.png
into an issue comment and submit the comment.
Output of checks
This bug happens on GitLab.com.
Links
Possibly related to #12905 (closed) and/or #216503 (closed).