[Webkit-unassigned] [Bug 63267] WebSockets constructor erroneously unescapes forward slashes in URLs

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Jun 26 21:01:32 PDT 2011


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


Yuta Kitamura <yutak at chromium.org> changed:

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




--- Comment #3 from Yuta Kitamura <yutak at chromium.org>  2011-06-26 21:01:32 PST ---
If I read RFC 3986 correctly, this sounds like a bug. Reserved characters should not be decoded.

WebSocket uses KURL::path() to obtain path component of the given URL, and KURL::path() unescapes percent-encoded characters, so this issue occurs.

Chromium is not affected, because KURLGoogle::path() does not unescape.

So the real problem seems to exist in KURL::path(). Who does know KURL well?

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