Uploaded image for project: 'Confluence Data Center'
  1. Confluence Data Center
  2. CONFSERVER-10506

Guess MIME types for objects uploaded as application/octet-stream

    XMLWordPrintable

Details

    • We collect Confluence 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.

    Description

      Generally, if a browser doesn't know what MIME type a file is, it will upload it as application/octet-stream. This can cause problems if one person uploads a file that their browser doesn't understand, then another browser tries to download it and doesn't understand what kind of file it's getting.

      If a browser uploads a file with MIME type application/octet-stream, we should use mime.types-style guessing to guess the content-type from the file extension.

      There should be a mechanism for site admins to add new extension-MIME mappings (preferably through the web UI, but editing a file would work OK)

      If a browser specifies a MIME type of an uploaded file as anything but application/octet-stream, we trust the browser.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              cmiller@atlassian.com Charles Miller
              Votes:
              8 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: