Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo


#220 Attachments should have MIME type to allow viewing in browser or other appropriate tool

Maynard Johnson

I'm a project maintainer, and we use the ticketing system for bug reporting. It's common for patches to be attached to ticket. In the previous bug reporting tool used by SF, when a user attached a patch, there was a "patch" check box (IIRC). If this box was checked when attaching the patch, then subsequent clicks on the URL for the patch attachment would result in opening the patch in the user's browser. But with the current SF ticketing system, when I click on an attachment link in a ticket, the only choice I have is "Save file".

A general purpose MIME type identifier for attachments would be even more helpful. This would allow the browser the opportunity to select an appropriate viewer for any type of attachment.


  • Dave Brondsema
    Dave Brondsema

    Mime types are used for images only, currently. Many mime types are not safe to use with user-provided content (html, javascript, flash, etc) since they'll be executed by the browser. Handling plain text and patch files should be possible to permit, though. We may want to have a max size limit, so that an enormous log file (for example) is downloaded instead of displayed in the browser.