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

Re: [whatwg] URL: IPv6 parsing and model/serializing

From: Boris Zbarsky <bzbarsky@MIT.EDU>
Date: Wed, 14 Nov 2012 11:05:20 -0800
Message-ID: <50A3EB70.1030308@mit.edu>
To: whatwg@lists.whatwg.org
On 11/14/12 10:35 AM, Anne van Kesteren wrote:
> Chrome's implementation (except for parsing invalid IPv4) makes a lot
> of sense I think as it allows for minimizing what needs to be stored
> internally. It only requires a sequence of eight 16-bit components.

I believe Gecko simply stores the original string (lowercased), modulo 
IDN stuff.  Since this works for both DNS names and IP addresses, a 
requirement that some other representation be stored is actually a bit 
of an implementation annoyance...

Received on Wednesday, 14 November 2012 19:28:55 UTC

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