W3C home > Mailing lists > Public > whatwg@whatwg.org > October 2012

Re: [whatwg] URL: query encoding

From: Simon Pieters <simonp@opera.com>
Date: Tue, 30 Oct 2012 17:20:33 +0200
To: WHATWG <whatwg@whatwg.org>, "Anne van Kesteren" <annevk@annevk.nl>
Message-ID: <op.wmz2cjijidj3kv@dhcp26-236.enst.fr>
On Fri, 26 Oct 2012 17:23:53 +0300, Anne van Kesteren <annevk@annevk.nl>  

> 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:. We have a test case  
for this. I believe the spec required this at the time we implemented it.  
Firefox passes the test as well, but Chrome fails it (Chrome has the  
quirk). I don't know what IE does. I tentatively suggest we go with  
Opera/Firefox here and limit this quirk so it does not apply to ws: or  

> Is
> that something implementors would consider following?
> The parsing section of http://url.spec.whatwg.org/ has this as an open
> issue for now.

Simon Pieters
Opera Software
Received on Tuesday, 30 October 2012 16:21:24 UTC

This archive was generated by hypermail 2.3.1 : Monday, 13 April 2015 23:09:17 UTC