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

Glenn Maynard glenn at zewt.org
Fri Feb 8 16:32:34 PST 2013


On Fri, Feb 8, 2013 at 10:09 AM, Anne van Kesteren <annevk at annevk.nl> wrote:

> On Fri, Feb 8, 2013 at 3:03 PM, Glenn Maynard <glenn at 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



More information about the whatwg mailing list