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: Thu, 14 Mar 2013 09:58:14 +0000
Message-ID: <CADnb78gE7yz7MDfsAsgGQJKBH=0vdnhT4M=W7jSRWKnVzpOffg@mail.gmail.com>
To: Bjoern Hoehrmann <derhoermi@gmx.net>
Cc: whatwg@lists.whatwg.org
On Wed, Mar 13, 2013 at 11:58 PM, Bjoern Hoehrmann <derhoermi@gmx.net> wrote:
> "http:test" is already absolute, so per RFC 3986 the absolute form is
> "http:test" regardless of the base reference. The relevant case there
> is rather when the base scheme is "http", because then some implemen-
> tations treat the string as relative reference, as noted in RFC 3986.
> Some browsers end up handling the absolute reference "http:test" as
> if it was "http://test/", but that has nothing to do with how you turn
> relative references into absolute references.

Fair enough.

I guess the main difference for relative references is that they only
work for certain schemes and that the file URL scheme has even more
special rules.

Received on Thursday, 14 March 2013 09:58:42 UTC

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