Path segments can be empty · whatwg/url@1505976
annevk
·
2026-07-01
·
via Recent Commits to url:main
| Original file line number | Diff line number | Diff line change |
|---|
@@ -2082,16 +2082,16 @@ followed by a <a>path-absolute-URL string</a>.
|
2082 | 2082 | <a>valid opaque-host string</a>, optionally followed by U+003A (:) and a <a>URL-port string</a>. |
2083 | 2083 | |
2084 | 2084 | <p>A <dfn export oldids=syntax-url-file-scheme-relative>scheme-relative-file-URL string</dfn> must |
2085 | | -be "<code>//</code>", followed by one of the following: |
| 2085 | +be "<code>//</code>", optionally followed by one of the following: |
2086 | 2086 | |
2087 | 2087 | <ul class=brief> |
2088 | 2088 | <li><p>a <a>valid host string</a>, optionally followed by a |
2089 | 2089 | <a>path-absolute-non-Windows-file-URL string</a> |
2090 | 2090 | <li><p>a <a>path-absolute-URL string</a>. |
2091 | 2091 | </ul> |
2092 | 2092 | |
2093 | | -<p>A <dfn export oldids=syntax-url-path-absolute>path-absolute-URL string</dfn> must be U+002F (/) |
2094 | | -followed by a <a>path-relative-URL string</a>. |
| 2093 | +<p>A <dfn export oldids=syntax-url-path-absolute>path-absolute-URL string</dfn> must be U+002F (/), |
| 2094 | +followed by zero or more <a>URL-path-segment strings</a>, separated from each other by U+002F (/). |
2095 | 2095 | |
2096 | 2096 | <p>A <dfn export oldids=syntax-url-file-path-absolute>path-absolute-non-Windows-file-URL string</dfn> |
2097 | 2097 | must be a <a>path-absolute-URL string</a> that does not start with: U+002F (/), followed by a |
|
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。