[Webkit-unassigned] [Bug 42636] New: WebSocket() constructor should throw SYNTAX_ERR if URL has zero or one slash after 'ws:' or 'wss:'
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Tue Jul 20 06:36:21 PDT 2010
https://bugs.webkit.org/show_bug.cgi?id=42636
Summary: WebSocket() constructor should throw SYNTAX_ERR if URL
has zero or one slash after 'ws:' or 'wss:'
Product: WebKit
Version: 528+ (Nightly build)
Platform: PC
OS/Version: Mac OS X 10.5
Status: UNCONFIRMED
Severity: Normal
Priority: P2
Component: New Bugs
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: zcorpan at gmail.com
CC: ukai at chromium.org
WebKit implies the slashes if they're missing in WebSocket URLs.
new WebSocket('ws:example.org/');
new WebSocket('ws:/example.org/');
Apparently no slashes means no authority (user/pass+host+port), which doesn't
make sense for websocket, and websocket requires an absolute URL. So I think
the above cases should throw SYNTAX_ERR.
Also see https://bugzilla.mozilla.org/show_bug.cgi?id=580234
--
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