[BUGFIX] Valid Content-Type header for jpg thumbnails 82/39482/3
authorStephan Großberndt <stephan@grossberndt.de>
Tue, 12 May 2015 11:07:32 +0000 (13:07 +0200)
committerAndreas Fernandez <typo3@scripting-base.de>
Fri, 15 May 2015 12:53:03 +0000 (14:53 +0200)
commit8f20d1e4dd92f722c0b3dcdf82f3cc78a8f38673
treecbbde404e6306cfaf1f94ad27f82df55d9960139
parenta1707ef5ab222ea457e66b45ad7f7484cccb70d8
[BUGFIX] Valid Content-Type header for jpg thumbnails

Use "Content-Type: image/jpeg" instead of invalid "image/jpg" derived
from the file extension. The invalid Content-Type in combination with
"X-Content-Type-Options: nosniff" leads to thumbnails not showing up in
Internet Explorer.

While at it also correct the case of "Etag" to "ETag".

Resolves: #66913
Releases: master, 6.2
Change-Id: I9a31817e32e4e8b2b99b3008f8381608c5ac06e9
Reviewed-on: http://review.typo3.org/39482
Reviewed-by: Frederic Gaus <frederic.gaus@flagbit.de>
Reviewed-by: Xavier Perseguers <xavier@typo3.org>
Reviewed-by: Morton Jonuschat <m.jonuschat@mojocode.de>
Tested-by: Morton Jonuschat <m.jonuschat@mojocode.de>
Reviewed-by: Andreas Fernandez <typo3@scripting-base.de>
Tested-by: Andreas Fernandez <typo3@scripting-base.de>
typo3/sysext/backend/Classes/View/ThumbnailView.php
typo3/sysext/t3editor/res/tsref/tsref.xml