Skip to content

Commit

Permalink
CSP2/CSP3: Explicitly list schemes that do not match '*'.
Browse files Browse the repository at this point in the history
  • Loading branch information
mikewest committed Jan 20, 2015
1 parent d990789 commit 8cbfd69
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
3 changes: 1 addition & 2 deletions specs/CSP2/index.src.html
Original file line number Diff line number Diff line change
Expand Up @@ -1034,8 +1034,7 @@ <h4 id="match-source-expression">Matching Source Expressions</h4>
<li>
If the source expression a consists of a single U+002A ASTERISK
character (<code>*</code>), and <var>url</var>'s <a>scheme</a> is not
of a type designating a <a>globally unique identifier</a>, (such as
<code>blob:</code>, <code>data:</code>, or <code>filesystem:</code>)
one of <code>blob</code>, <code>data</code>, <code>filesystem</code>,
then return <em>does match</em>.
</li>

Expand Down
3 changes: 1 addition & 2 deletions specs/content-security-policy/index.src.html
Original file line number Diff line number Diff line change
Expand Up @@ -1052,8 +1052,7 @@ <h4 id="match-source-expression">Matching Source Expressions</h4>
<li>
If the source expression a consists of a single U+002A ASTERISK
character (<code>*</code>), and <var>url</var>'s <a>scheme</a> is not
of a type designating a <a>globally unique identifier</a>, (such as
<code>blob:</code>, <code>data:</code>, or <code>filesystem:</code>)
one of <code>blob</code>, <code>data</code>, <code>filesystem</code>,
then return <em>does match</em>.
</li>

Expand Down

0 comments on commit 8cbfd69

Please sign in to comment.