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

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

      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.

            [CONFSERVER-5686] Content type guessing for external embedded resources doesn't use the Content-type HTTP header

            Katherine Yabut made changes -
            Workflow Original: JAC Bug Workflow v3 [ 2887716 ] New: CONFSERVER Bug Workflow v4 [ 2981432 ]
            Owen made changes -
            Workflow Original: JAC Bug Workflow v2 [ 2801342 ] New: JAC Bug Workflow v3 [ 2887716 ]
            Status Original: Resolved [ 5 ] New: Closed [ 6 ]
            Owen made changes -
            Workflow Original: JAC Bug Workflow [ 2731714 ] New: JAC Bug Workflow v2 [ 2801342 ]
            Owen made changes -
            Workflow Original: Confluence Workflow - Public Facing - Restricted v5 - TEMP [ 2396994 ] New: JAC Bug Workflow [ 2731714 ]
            Katherine Yabut made changes -
            Workflow Original: Confluence Workflow - Public Facing - Restricted v5 [ 2293940 ] New: Confluence Workflow - Public Facing - Restricted v5 - TEMP [ 2396994 ]
            Katherine Yabut made changes -
            Workflow Original: Confluence Workflow - Public Facing - Restricted v5.1 - TEMP [ 2230566 ] New: Confluence Workflow - Public Facing - Restricted v5 [ 2293940 ]
            Katherine Yabut made changes -
            Workflow Original: Confluence Workflow - Public Facing - Restricted v5 - TEMP [ 2188800 ] New: Confluence Workflow - Public Facing - Restricted v5.1 - TEMP [ 2230566 ]
            Katherine Yabut made changes -
            Workflow Original: Confluence Workflow - Public Facing - Restricted v5 [ 1918052 ] New: Confluence Workflow - Public Facing - Restricted v5 - TEMP [ 2188800 ]
            Katherine Yabut made changes -
            Workflow Original: Confluence Workflow - Public Facing - Restricted v3 [ 1722774 ] New: Confluence Workflow - Public Facing - Restricted v5 [ 1918052 ]
            Katherine Yabut made changes -
            Workflow Original: CONF Bug Subtask WF (TEMP) [ 1676525 ] New: Confluence Workflow - Public Facing - Restricted v3 [ 1722774 ]

              Unassigned Unassigned
              matt@atlassian.com Matt Ryall
              Affected customers:
              1 This affects my team
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: