[Webkit-unassigned] [Bug 115501] New: ResourceResponse might let non-lower-cased MIME types into WebCore

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed May 1 17:40:34 PDT 2013


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

           Summary: ResourceResponse might let non-lower-cased MIME types
                    into WebCore
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Unspecified
        OS/Version: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Page Loading
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: timothy_horton at apple.com
                CC: darin at apple.com, ap at webkit.org


I don't see any code that ensures that the MIME type which ResourceResponseMac's ResourceResponse::platformLazyInit extracts from NSURLResponse (via -MIMEType) is lower-cased, but much of WebCore depends on MIME types being lower-cased.

It seems like it would be ideal to fix this in a cross-platform way, somewhere above ResourceResponse::platformLazyInit (maybe ResourceResponseBase::lazyInit, I don't know... and also in ResourceResponseBase::setMimeType).

-- 
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