Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Sink group should be single-quoted only in CSP syntax.
Browse files Browse the repository at this point in the history
Fixes #542
koto committed Nov 6, 2024
1 parent 324798d commit 83953be
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions spec/index.bs
Original file line number Diff line number Diff line change
@@ -1293,8 +1293,9 @@ ABNF:

<pre>
directive-name = "require-trusted-types-for"
directive-value = <a>trusted-types-sink-group</a> *( <a href="https://w3c.github.io/webappsec-csp/#grammardef-required-ascii-whitespace">required-ascii-whitespace</a> <a>trusted-types-sink-group</a>)
<dfn>trusted-types-sink-group</dfn> = "'script'"
directive-value = <a>trusted-types-sink-group-keyword</a> *( <a href="https://w3c.github.io/webappsec-csp/#grammardef-required-ascii-whitespace">required-ascii-whitespace</a> <a>trusted-types-sink-group-keyword</a>)
<dfn>trusted-types-sink-group-keyword</dfn> = "'" <a>trusted-types-sink-group</a> "'"
<dfn>trusted-types-sink-group</dfn> = "script"
</pre>

<div class="example" id="require-tt-for-script-header">

0 comments on commit 83953be

Please sign in to comment.