Skip to content

Commit 94b8447

Browse files
authored
Editorial: add a URL path concept
This will be useful for a future version of the Cookies RFC. Closes #792.
1 parent 21b77e0 commit 94b8447

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

url.bs

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1709,8 +1709,7 @@ null or a 16-bit unsigned integer that identifies a networking port. It is initi
17091709

17101710
<p>A <a for=/>URL</a>'s
17111711
<dfn export for=url id=concept-url-path oldids=non-relative-flag,url-cannot-be-a-base-url-flag>path</dfn>
1712-
is either a <a>URL path segment</a> or a <a for=/>list</a> of zero or more <a>URL path segments</a>,
1713-
usually identifying a location. It is initially « ».
1712+
is a <a for=/>URL path</a>, usually identifying a location. It is initially « ».
17141713

17151714
<p class=note>A <a lt="is special">special</a> <a for=/>URL</a>'s <a for=url>path</a> is always a
17161715
<a for=/>list</a>, i.e., it is never <a for=url lt="opaque path">opaque</a>.
@@ -1782,6 +1781,9 @@ the <a>blob URL store</a> between parsing and fetching, while fetching will stil
17821781

17831782
<hr>
17841783

1784+
<p>A <dfn export>URL path</dfn> is either a <a>URL path segment</a> or a <a for=/>list</a> of zero
1785+
or more <a>URL path segments</a>.
1786+
17851787
<p>A <dfn export>URL path segment</dfn> is an <a for=/>ASCII string</a>. It commonly refers to a
17861788
directory or a file, but has no predefined meaning.
17871789

0 commit comments

Comments
 (0)