W3C home > Mailing lists > Public > public-webappsec@w3.org > February 2013

Re: Action-92: Propose spec text to resolve ISSUE-32

From: Bjoern Hoehrmann <derhoermi@gmx.net>
Date: Wed, 27 Feb 2013 00:01:15 +0100
To: Daniel Veditz <dveditz@mozilla.com>
Cc: "public-webappsec@w3.org" <public-webappsec@w3.org>
Message-ID: <5bfqi8dvueho4molscibj18m5svis3tllt@hive.bjoern.hoehrmann.de>
* Daniel Veditz wrote:
>ISSUE-32: Do we specify that path-specificity applies only to 
>hierarchical URI schemes?
>
>This may be unnecessary, although we could add a clarifying note. The 
>spec currently only supports path as part of a host-source, and defines 
>host-source as:
>
>   host-source     = [ scheme "://" ] host [ port ] [ path ]
>
>This implies path only works for hierarchical schemes since the host is 
>required in order to have a path, and the hierarchical "://" delimiter 
>is required if there's a scheme along with a host.

The grammar is for instances while the issue is about schemes. Again,
<javascript://example.com/> looks hierarchical, but the scheme isn't.
-- 
Björn Höhrmann · mailto:bjoern@hoehrmann.de · http://bjoern.hoehrmann.de
Am Badedeich 7 · Telefon: +49(0)160/4415681 · http://www.bjoernsworld.de
25899 Dagebüll · PGP Pub. KeyID: 0xA4357E78 · http://www.websitedev.de/ 
Received on Tuesday, 26 February 2013 23:01:43 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 26 February 2013 23:01:44 GMT