[Webkit-unassigned] [Bug 246131] New: Accept image/jpg for compatibility reasons

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Oct 5 19:32:43 PDT 2022


https://bugs.webkit.org/show_bug.cgi?id=246131

            Bug ID: 246131
           Summary: Accept image/jpg for compatibility reasons
           Product: WebKit
           Version: Safari Technology Preview
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Keywords: BrowserCompat
          Severity: Normal
          Priority: P2
         Component: Images
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: karlcow at apple.com
                CC: cdumez at apple.com, sabouhallawa at apple.com

Some servers seems to send JPEG images as `image/jpg`
The correct Content Type is `image/jpeg` per RFC.
https://www.iana.org/assignments/media-types/media-types.xhtml#image
https://www.rfc-editor.org/rfc/rfc2046.html

It may create web compatibility breakages. 
It would be good to assess the level of breakages it creates.

* Both Firefox and Chrome accepts `image/jpg` for displaying JPEG images.
* Safari is downloading the image.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20221006/d1a93992/attachment-0001.htm>


More information about the webkit-unassigned mailing list