Content type guessing for external embedded resources doesn't use the Content-type HTTP header

XMLWordPrintable

      Example:

      Returns a JPEG image with the headers:

      HTTP/1.1 200 OK
      Date: Wed, 08 Mar 2006 18:11:12 GMT
      Server: Apache/2.2.0 (Unix)
      Connection: close
      Content-Length: 37534
      Content-Type: image/jpeg

      The embedded resource parser incorrectly guesses the content type as 'application/octet-stream' based on the filename 'preview'. Confluence is then unable to render it.

      When the filename guessing provides no useful content type for external resources, the parser should check the content-type HTTP header.

            Assignee:
            Unassigned
            Reporter:
            Matt Ryall
            Votes:
            1 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: