[Webkit-unassigned] [Bug 46151] XMLHttpRequest: setRequestHeader() does not throw SYNTAX_ERR exception if the header field name is empty

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Sep 22 00:24:48 PDT 2010


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


Luke Macpherson <macpherson at chromium.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |macpherson at chromium.org




--- Comment #1 from Luke Macpherson <macpherson at chromium.org>  2010-09-22 00:24:47 PST ---
The fix appears to be changing XMLHttpRequest::isValidToken() to match http://www.ietf.org/rfc/rfc2616.txt section 2.2 by rejecting zero-length tokens.

The question is: will throwing an exception here as mandated by the spec break existing web sites?

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