[Webkit-unassigned] [Bug 46573] Regresion: charset="utf-8" ignored in XHR

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Sep 26 04:18:40 PDT 2010


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





--- Comment #2 from Max Barel <max at ac-mb.info>  2010-09-26 04:18:40 PST ---
Alexey,
The test page was working in Firefox.
Nevertheless, your comment directed me to the point.
I was serving the header as: Content-type: text/html; charset="utf-8"
rather than : Content-type: text/html; charset=utf-8

Notice that the encoding was a quoted string in the faulty page.

The Content-type specification (http://www.w3.org/Protocols/rfc1341/4_Content-Type.html) allows quoted strings for parameter values, but I'm not sure the specific charset parameter does. Maybe not.

So, it's up to you to decide if the parsing is indeed too strict. Should we allow quoted strings there?
Beside, you may close the bug.

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