[Webkit-unassigned] [Bug 28654] New: MIME handling in qtwebkit network layer case-sensitivity

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sat Aug 22 05:26:51 PDT 2009


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

           Summary: MIME handling in qtwebkit network layer
                    case-sensitivity
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: All
               URL: http://www.buienradar.nl/images.aspx?jaar=-3&bliksem=0
                    &voor=&soort=verwachting1x1
        OS/Version: All
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: WebKit Qt
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: rich at kde.org


Created an attachment (id=38432)
 --> (https://bugs.webkit.org/attachment.cgi?id=38432)
Patch to fix the bug

The code in webkit assumes MIME types will be lower case, but
QNetworkAccessManager returns the mime type exactly as it is sent by the remote
server. The RFC says mime types are case-insensitive, so in the case of the URL
above which sends image/GIF things should work just fine. Unfortunately that is
not the case, qtwebkit believes this mime type to be unsupported wheras
image/gif is fine. The fix is simply to lowercase the mimetype as it is passed
from QNAM to webkit.

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