Re: [whatwg] URL: query encoding

On Tue, 30 Oct 2012, Simon Pieters wrote:
> On Fri, 26 Oct 2012 17:23:53 +0300, Anne van Kesteren <annevk@annevk.nl>
> wrote:
> > 
> > Currently encoding the query component of a URL using the document's 
> > encoding affects all URLs with a "relative scheme" (http/ws/file/...). 
> > Should we restrict this to http/https/file so new schemes such as 
> > ws/wss and others will not be affected by this weird legacy quirk?
> 
> So in Opera this quirk does not apply to ws: or wss:.

Even in <a href="ws:"> ? Or just in |new WebSocket()|? (There's no way to 
test non-ws:/wss: in the WebSocket constructor, so asking if it's 
scheme-specific in the constructor can't be answered.)

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'

Received on Tuesday, 30 October 2012 17:02:03 UTC