[Webkit-unassigned] [Bug 82714] WebSockets: The handshake should check for US-ASCII data instead of UTF-8.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Mar 22 01:04:30 PDT 2013


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


Takeshi Yoshino <tyoshino at google.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |tyoshino at google.com




--- Comment #18 from Takeshi Yoshino <tyoshino at google.com>  2013-03-22 01:06:55 PST ---
I prefer that we reject WebSocket object creation with bad URL data or a bad field value given by the script rather than replacing them to '?' using .ascii() method. Such transformation is not specified by the RFCs (only mention about IDN regarding the host part). It brings unexpected/confusing behavior, troubles to developers.

I don't have strong opinion on rejecting handshake with non-ASCII, as far as it's rejected, not accepted after replacing bad characters to '?' or something.

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