Skip to content

Commit 6e35062

Browse files
authored
Correct condition for opaque paths in base URL
This PR fixes pathname processing for inputs that have opaque pathnames.
1 parent b45203d commit 6e35062

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
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| has an [=url/opaque path=]; and</li>
1871+
<li>|baseURL| does not have 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:

0 commit comments

Comments
 (0)