Details
-
Bug
-
Resolution: Fixed
-
Medium
-
6.4.3, 6.7.2, 6.8.2, 6.9.1
-
17
-
Severity 2 - Major
-
11
-
Description
Summary
When adding .png image and applying image effect on to it, image generated from thumber will incorrectly return with mime type image/jpeg
As a result, when using in combination with X-Content-Type-Options: nosniff set at Apache frontend and IE11 image will not be rendered
Environment
- Microsoft Internet Explorer 11
Steps to Reproduce
- Inserted an image screenshot.png into a Confluence page and embed it
- Add an ImageEffect to the picture
- The generated image is screenshot.jpg
- Analyze the screenshot.jpg with Apache Tika or HAR file
The following image properties are returned:
Expected Results
The generated image should remain .png and content-type of the image with effects is image/png
Actual Results
The content-type of the image with effects is image/jpeg
As a result, if X-Content-Type-Options: *nosniff *set at Apache frontend, then Image will not be rendered by IE11
Workaround
Issue is not observed by Other Browsers or disable nosniff.
Attachments
Issue Links
- relates to
-
CONFSERVER-39360 Internet Explorer 11 does not show images on pages
- Gathering Impact
-
CONFSERVER-55413 Image with image effects broken on IE11
- Gathering Impact