Issue 78047 in chromium: Chrome fails to display JPEGs sent without mime-type

11 views
Skip to first unread message

chro...@googlecode.com

unread,
Mar 31, 2011, 11:34:42 AM3/31/11
to chromi...@chromium.org
Status: Unconfirmed
Owner: ----
Labels: Type-Bug Pri-2 Area-Undefined

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.

chro...@googlecode.com

unread,
Jun 1, 2011, 5:43:41 PM6/1/11
to chromi...@chromium.org

Comment #2 on issue 78047 by ka...@chromium.org: Chrome fails to display

can you give more specific reproducable examples that already exist so we
can see if we can track it down?

chro...@googlecode.com

unread,
Jun 1, 2011, 5:47:43 PM6/1/11
to chromi...@chromium.org
Updates:
Labels: Mstone-X

Comment #3 on issue 78047 by ka...@chromium.org: Chrome fails to display

(No comment was entered for this change.)

chro...@googlecode.com

unread,
Dec 10, 2011, 6:15:34 AM12/10/11
to chromi...@chromium.org

Comment #4 on issue 78047 by no...@chromium.org: Chrome fails to display

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


Reply all
Reply to author
Forward
0 new messages