[Webkit-unassigned] [Bug 8644] New: XMLHttpRequest removes spaces from content-types before processing

bugzilla-daemon at opendarwin.org bugzilla-daemon at opendarwin.org
Fri Apr 28 03:50:17 PDT 2006


http://bugzilla.opendarwin.org/show_bug.cgi?id=8644

           Summary: XMLHttpRequest removes spaces from content-types before
                    processing
           Product: WebKit
           Version: 420+ (nightly)
          Platform: Macintosh
        OS/Version: Mac OS X 10.4
            Status: NEW
          Severity: normal
          Priority: P4
         Component: XML
        AssignedTo: webkit-unassigned at opendarwin.org
        ReportedBy: macdome at opendarwin.org


static inline String getMIMEType(const String& contentTypeString)
in xmlhttprequest.cpp has a line which skips spaces.

I'm not sure this is right.  According to RFC 2045 " " is an invalid char for
MIME types, we're just ignoring it, instead of rejeccting the content type as I
would have expected.


-- 
Configure bugmail: http://bugzilla.opendarwin.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the webkit-unassigned mailing list