Uploaded image for project: 'Jira Data Center'
  1. Jira Data Center
  2. JRASERVER-871

Improve Mime type handling of Attachments

XMLWordPrintable

    • We collect Jira feedback from various sources, and we evaluate what we've collected when planning our product roadmap. To understand how this piece of feedback will be reviewed, see our Implementation of New Features Policy.

      For many cases the mime-types of attachments that are uploaded are set to "application/octet-stream".

      In most cases - this is not the case, and attachments should be served with the correct mime-types.

      The activation framework seems to deal with this fairly nicely:

      http://java.sun.com/j2ee/sdk_1.3/techdocs/api/javax/activation/MimetypesFileTypeMap.html

      Also a list of mime-types:

      http://www.utoronto.ca/ian/books/html4ed/appb/mimetype.html

      We could automatically set the mime-type for uploads we know about.

              scott@atlassian.com Scott Farquhar
              scott@atlassian.com Scott Farquhar
              Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: