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...

-Boris
Received on Wednesday, 14 November 2012 19:28:55 GMT

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