Permalink
Browse files

Merge pull request #48 from shekyan/rsf-parsing

Clarification of parsing of `require-sri-for`
  • Loading branch information...
2 parents 6c18285 + adcf3f3 commit 1c2a87eb92619efa323ca41a55817358b7f3c9d5 @fmarier fmarier committed on GitHub Jul 8, 2016
Showing with 3 additions and 2 deletions.
  1. +3 −2 index.bs
View
@@ -394,8 +394,9 @@ types which will require integrity checks:
2. For each |token| in the result of <a lt="split a string on spaces">
splitting |token list| on spaces</a>, if token matches the grammar
- for <a>require-sri-for</a>, add |token| to |protected resource types|
- if |token| is a <a>known token</a>. Otherwise, ignore the token.
+ for <a>require-sri-for</a> and is a <a>ASCII case-insensitive match</a>
+ for any of the <a>known token</a>s, add |token| to |protected resource types|.
+ Otherwise, ignore the token.
3. Return the set of |protected resource types|.

0 comments on commit 1c2a87e

Please sign in to comment.