Skip to content

Commit 45d7e05

Browse files
anonrigjeremyroman
authored andcommitted
Correct condition for opaque paths in base URL
This PR fixes pathname processing for inputs that have opaque pathnames. (Amended by editor to apply to the correct draft.)
1 parent 2a2f2c3 commit 45d7e05

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

review-drafts/2024-03.bs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1868,7 +1868,7 @@ To <dfn>convert a modifier to a string</dfn> given a [=part/modifier=] |modifier
18681868
1. If the following are all true:
18691869
<ul>
18701870
<li>|baseURL| is not null;</li>
1871-
<li>|baseURL| does not have an [=url/opaque path=]; and</li>
1871+
<li>|baseURL| has an [=url/opaque path=]; and</li>
18721872
<li>the result of running [=is an absolute pathname=] given |result|["{{URLPatternInit/pathname}}"] and |type| is false,
18731873
</ul>
18741874
<p>then:

spec.bs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1883,7 +1883,7 @@ To <dfn>convert a modifier to a string</dfn> given a [=part/modifier=] |modifier
18831883
1. If the following are all true:
18841884
<ul>
18851885
<li>|baseURL| is not null;</li>
1886-
<li>|baseURL| has an [=url/opaque path=]; and</li>
1886+
<li>|baseURL| does not have an [=url/opaque path=]; and</li>
18871887
<li>the result of running [=is an absolute pathname=] given |result|["{{URLPatternInit/pathname}}"] and |type| is false,
18881888
</ul>
18891889
<p>then:

0 commit comments

Comments
 (0)