Skip to content

Commit

Permalink
Correct condition for opaque paths in base URL
Browse files Browse the repository at this point in the history
This PR fixes pathname processing for inputs that have opaque pathnames.

(Amended by editor to apply to the correct draft.)
  • Loading branch information
anonrig authored and jeremyroman committed Jan 7, 2025
1 parent 2a2f2c3 commit 45d7e05
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion review-drafts/2024-03.bs
Original file line number Diff line number Diff line change
Expand Up @@ -1868,7 +1868,7 @@ To <dfn>convert a modifier to a string</dfn> given a [=part/modifier=] |modifier
1. If the following are all true:
<ul>
<li>|baseURL| is not null;</li>
<li>|baseURL| does not have an [=url/opaque path=]; and</li>
<li>|baseURL| has an [=url/opaque path=]; and</li>
<li>the result of running [=is an absolute pathname=] given |result|["{{URLPatternInit/pathname}}"] and |type| is false,
</ul>
<p>then:
Expand Down
2 changes: 1 addition & 1 deletion spec.bs
Original file line number Diff line number Diff line change
Expand Up @@ -1883,7 +1883,7 @@ To <dfn>convert a modifier to a string</dfn> given a [=part/modifier=] |modifier
1. If the following are all true:
<ul>
<li>|baseURL| is not null;</li>
<li>|baseURL| has an [=url/opaque path=]; and</li>
<li>|baseURL| does not have an [=url/opaque path=]; and</li>
<li>the result of running [=is an absolute pathname=] given |result|["{{URLPatternInit/pathname}}"] and |type| is false,
</ul>
<p>then:
Expand Down

0 comments on commit 45d7e05

Please sign in to comment.