[Webkit-unassigned] [Bug 102778] New: should sniff it if mimetype is malformed

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Nov 20 00:04:04 PST 2012


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

           Summary: should sniff it if mimetype is malformed
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Unspecified
        OS/Version: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebCore Misc.
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: mary.wu at torchmobile.com.cn


the test site khanapp.com
Content-Type: web; charset=utf-8

Both Chrome and Firefox handle this. http://mimesniff.spec.whatwg.org/ says "If
the Content-Type header field is absent or if its value cannot be interpreted
as a media type (e.g. because its value doesn't contain a U+002F SOLIDUS ('/')
character), then there is no official-type."

We should use sniffing here since the Content-Type is invalid.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list