#1730 All issue attachments are treated as images
Closed: Fixed 6 years ago Opened 7 years ago by cep.

Even when a non-image file (say, a patch) is attached to an issue comment, it's still displayed as an <img>. We should have some checking mechanism that understands what type of file is being uploaded.

Right now, it looks like this, while ideally we should just display a link to the file. Opening the file works fine, though.

Screenshot_from_2017-01-10_22-23-32.png


I believe @mreynolds added support for this and patch and diff are no longer treated as images.

Thanks for your report!

Metadata Update from @pingou:
- Issue close_status updated to: Fixed

6 years ago

Login to comment on this ticket.

Metadata
Attachments 1