Open Bug 1527955 Opened 5 years ago Updated 2 years ago

Chromium shows images even when server says they're plain text content-type, Firefox does not.

Categories

(Core :: Graphics: ImageLib, defect, P3)

defect

Tracking

()

Webcompat Priority P3

People

(Reporter: twisniewski, Unassigned)

References

()

Details

The given URL is served as: Content-Type = text/plain; charset=utf-8

As a result, Firefox displays that PNG as plaintext when visiting the URL directly. Chrome instead displays it as a PNG, presumably doing MIME-type sniffing on the content instead. Should Firefox do the same?

Component: Tabbed Browser → ImageLib
Product: Firefox → Core

Safari seems to have the same behaviour as Chrome. Edge and IE don't.

I'd prefer to do nothing for now unless this becomes a bigger compat issue.

Priority: -- → P3
See Also: → 864851
Webcompat Priority: --- → ?
Webcompat Priority: ? → P3
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.