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

Re: [whatwg] URL standard: Query string parsing; host parsing

From: Anne van Kesteren <annevk@annevk.nl>
Date: Wed, 13 Mar 2013 21:13:19 +0000
Message-ID: <CADnb78gH6jAsnaM7GhQop7SU6RwdME00qAm=eb7YXi4vk6SY7g@mail.gmail.com>
To: Bjoern Hoehrmann <derhoermi@gmx.net>
Cc: Julian Reschke <julian.reschke@gmx.de>, whatwg@lists.whatwg.org, Boris Zbarsky <bzbarsky@mit.edu>
On Wed, Mar 13, 2013 at 8:43 PM, Bjoern Hoehrmann <derhoermi@gmx.net> wrote:
> * Boris Zbarsky wrote:
>>If you assume that this is a hierarchical scheme and that the hierarchy
>>is in some particular place, no?  Why is that assumption being made?
>
> Turning relative references into absolute ones is a generic operation
> that works the same for all schemes, as far as RFC 1808 (published in
> 1995) and its successors are concerned.

That's in part why I wrote http://url.spec.whatwg.org/ as
implementations do not do that. E.g. http:test resolves to
http://test/ if base URL's scheme is not http.

It does not cover jar: at the moment though as that's not supported by everyone.


-- 
http://annevankesteren.nl/
Received on Wednesday, 13 March 2013 21:13:43 GMT

This archive was generated by hypermail 2.3.1 : Wednesday, 13 March 2013 21:13:44 GMT