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


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 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:59:48 UTC