W3C home > Mailing lists > Public > whatwg@whatwg.org > February 2013

Re: [whatwg] [URL] Cargo-cult naming in URL and matching

From: Glenn Maynard <glenn@zewt.org>
Date: Fri, 8 Feb 2013 18:32:34 -0600
Message-ID: <CABirCh97E_xzvnt=Kd9JdZbR4dJJ79KW2BUnw9h7OABVhX4PtQ@mail.gmail.com>
To: Anne van Kesteren <annevk@annevk.nl>
Cc: whatwg <whatwg@lists.whatwg.org>, Jake Archibald <jakearchibald@google.com>, Alex Russell <slightlyoff@google.com>
On Fri, Feb 8, 2013 at 10:09 AM, Anne van Kesteren <annevk@annevk.nl> wrote:

> On Fri, Feb 8, 2013 at 3:03 PM, Glenn Maynard <glenn@zewt.org> wrote:
> > A compare method is probably useful, since you'd also want
> case-insensitive
> > comparisons for some parts and not others (eg. lowercase protocol and
> host
> > before comparing).
>
> Scheme and host are normalized by the parser already.
>

That's strange.  I'd expect case to round-trip.

Where does this happen for the hostname?  I only see "case" related to ipv6
and scheme.

-- 
Glenn Maynard
Received on Saturday, 9 February 2013 00:32:59 UTC

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