Skip to content

Commit 98b9253

Browse files
Correctly match * as a host-part. (#657)
SHA: 8fe5fe8 Reason: push, by mikewest Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
1 parent 27ff809 commit 98b9253

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

index.html

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<link href="https://www.w3.org/StyleSheets/TR/2021/W3C-WD" rel="stylesheet">
88
<meta content="Bikeshed version 82ce88815, updated Thu Sep 7 16:33:55 2023 -0700" name="generator">
99
<link href="https://www.w3.org/TR/CSP3/" rel="canonical">
10-
<meta content="d091bce6fc43f33dcd4ad08cf7bc34069142abfa" name="document-revision">
10+
<meta content="8fe5fe84e585a2dee2b77d6250bb32742e4de31c" name="document-revision">
1111
<style>
1212
ul.toc ul ul ul {
1313
margin: 0 0 0 2em;
@@ -702,13 +702,13 @@
702702
<div class="head">
703703
<p data-fill-with="logo"><a class="logo" href="https://www.w3.org/"> <img alt="W3C" height="48" src="https://www.w3.org/StyleSheets/TR/2021/logos/W3C" width="72"> </a> </p>
704704
<h1>Content Security Policy Level 3</h1>
705-
<p id="w3c-state"><a href="https://www.w3.org/standards/types#WD">W3C Working Draft</a>, <time class="dt-updated" datetime="2024-04-12">12 April 2024</time></p>
705+
<p id="w3c-state"><a href="https://www.w3.org/standards/types#WD">W3C Working Draft</a>, <time class="dt-updated" datetime="2024-04-24">24 April 2024</time></p>
706706
<details open>
707707
<summary>More details about this document</summary>
708708
<div data-fill-with="spec-metadata">
709709
<dl>
710710
<dt>This version:
711-
<dd><a class="u-url" href="https://www.w3.org/TR/2024/WD-CSP3-20240412/">https://www.w3.org/TR/2024/WD-CSP3-20240412/</a>
711+
<dd><a class="u-url" href="https://www.w3.org/TR/2024/WD-CSP3-20240424/">https://www.w3.org/TR/2024/WD-CSP3-20240424/</a>
712712
<dt>Latest published version:
713713
<dd><a href="https://www.w3.org/TR/CSP3/">https://www.w3.org/TR/CSP3/</a>
714714
<dt>Editor's Draft:
@@ -3984,6 +3984,8 @@ <h5 class="heading settled algorithm" data-algorithm="host-part matching" data-l
39843984
<ol class="algorithm">
39853985
<li data-md>
39863986
<p>If <var>host</var> is not a <a data-link-type="dfn" href="https://url.spec.whatwg.org/#concept-domain" id="ref-for-concept-domain">domain</a>, return "<code>Does Not Match</code>".</p>
3987+
<li data-md>
3988+
<p>If <var>pattern</var> is "<code>*</code>", return "<code>Matches</code>".</p>
39873989
<li data-md>
39883990
<p>If <var>pattern</var> <a data-link-type="dfn" href="https://infra.spec.whatwg.org/#string-starts-with" id="ref-for-string-starts-with">starts with</a> "<code>*.</code>":</p>
39893991
<ol>

0 commit comments

Comments
 (0)