Bug #66913
closedJPG-Thumbnails are delivered with wrong Content-Type header
100%
Description
There is problem with displaying thumbnails in the Backend in Internet Explorer.
It turned out to be the header X-Content-Type-Options: "nosniff"
in combination with the code in typo3\sysext\backend\Classes\View\ThumbnailView.php
header('Content-type: image/' . $outext);
This sends Content-type: image/jpg
which is a wrong, undefined content type, correct is Content-type: image/jpeg
.
IE sees the invalid content type and is not allowed to sniff the content - resulting in handling it as application/octetstream
and offering it as download.
This results in thumbnails not showing up in backend (black/red X instead).
Updated by Gerrit Code Review over 9 years ago
- Status changed from New to Under Review
Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/39482
Updated by Gerrit Code Review over 9 years ago
Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/39482
Updated by Gerrit Code Review over 9 years ago
Patch set 1 for branch TYPO3_6-2 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/39567
Updated by Gerrit Code Review over 9 years ago
Patch set 2 for branch TYPO3_6-2 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/39567
Updated by Stephan Großberndt over 9 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset 8f20d1e4dd92f722c0b3dcdf82f3cc78a8f38673.