New issue 78047 by markleer...@gmail.com: Chrome fails to display JPEGs
sent without mime-type
http://code.google.com/p/chromium/issues/detail?id=78047
Chrome Version : 11.0.696.16 (Official Build 78799) dev
URLs (if applicable) :
Other browsers tested:
Add OK or FAIL after other browsers where you have tested this issue:
Safari 5: ?
Firefox 4.x: Ok
IE 7/8/9: Ok
Opera: Ok
What steps will reproduce the problem?
1. Configure the web server to not send a mime-type for JPEG images.
2. Go to the image URI directly, e.g. http://example.com/images.jpg
What is the expected result?
For the image to display, as it does when the correct mime-type is set.
What happens instead?
The image flashes briefly on the screen while loading.
Notes: I've only tested Chrome on Linux. I've seen this bug out in the wild.
can you give more specific reproducable examples that already exist so we
can see if we can track it down?
Comment #3 on issue 78047 by ka...@chromium.org: Chrome fails to display
JPEGs sent without mime-type
http://code.google.com/p/chromium/issues/detail?id=78047
(No comment was entered for this change.)
Chrome implements mimeType per HTML5 requirements. Those requirements
exists because mime sniffing is error-prone which impacts security [1]
[1] http://www.adambarth.com/papers/2009/barth-caballero-song.pdf