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

Re: [whatwg] URL testing

From: Chris Weber <chris@lookout.net>
Date: Sat, 24 Nov 2012 14:49:08 -0800
Message-ID: <50B14EE4.5020909@lookout.net>
To: Anne van Kesteren <annevk@annevk.nl>
Cc: whatwg@lists.whatwg.org
On 11/24/2012 1:34 AM, Anne van Kesteren wrote:
> This is super awesome. Glad you continued with this. I have a few
> generic points for now:
> 
> * No special handling for IPv4. IPv4 should work the same as domain
> names. I.e. the host of http://192/ is 192, not 0.0.0.192.
> * It's still a bit unclear to me what the best solution is for
> fragment identifiers. Whether they should be percent escaped or not
> and whether that should differ between .href and .hash.

There also appears to be some differences in Unicode normalization
(assuming I tested this enough), see:

http://web.lookout.net/2012/03/unicode-normalization-in-urls.html

In my tests:

Safari applied NFC normalization to the path, query, and fragment.
Chrome applied NFC normalization to the fragment only.
MSIE, Firefox, and Opera did not apply normalization anywhere.

> * IDNA is a rathole.
But it makes for interesting test cases :-)

> When are you planning on doing the further cleanup you mention? At
> some point I can try to go through them in detail and suggest fixes
> (e.g. via a pull request).

I plan to do it slowly over the course of the next week or two.

- Chris
Received on Sunday, 25 November 2012 00:24:07 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 30 January 2013 18:48:11 GMT