<p>Let the set of <var>protected resource types</var> that require SRI be the empty set.</p>
<lidata-md="">
<p>For each <var>token</var> in the result of <adata-link-type="dfn"href="http://www.w3.org/TR/html5/infrastructure.html#split-a-string-on-spaces"> splitting <var>token list</var> on spaces</a>, if token matches the grammar
- for <adata-link-type="dfn"href="#require-sri-for"id="ref-for-require-sri-for-1">require-sri-for</a>, add <var>token</var> to <var>protected resource types</var> if <var>token</var> is a <adata-link-type="dfn"href="#known-tokens"id="ref-for-known-tokens-1">known token</a>. Otherwise, ignore the token.</p>
+ for <adata-link-type="dfn"href="#require-sri-for"id="ref-for-require-sri-for-1">require-sri-for</a> and is a <adata-link-type="dfn"href="http://www.w3.org/TR/html5/scripting-1.html#ascii-case-insensitive">ASCII case-insensitive match</a> for any of the <adata-link-type="dfn"href="#known-tokens"id="ref-for-known-tokens-1">known token</a>s, add <var>token</var> to <var>protected resource types</var>.
+ Otherwise, ignore the token.</p>
<lidata-md="">
<p>Return the set of <var>protected resource types</var>.</p>
<p>Much of the content here is inspired heavily by Gervase Markham’s <ahref="http://www.gerv.net/security/link-fingerprints/">Link Fingerprints</a> concept as well as WHATWG’s <ahref="https://wiki.whatwg.org/wiki/Link_Hashes">Link Hashes</a>.</p>
<p>A special thanks to Mike West of Google, Inc. for his invaluable contributions
to the initial version of this spec. Additionally, Brad Hill, Anne van Kesteren,
<dd>R. Fielding, Ed.; J. Reschke, Ed.. <ahref="https://tools.ietf.org/html/rfc7231">Hypertext Transfer Protocol (HTTP/1.1): Semantics and Content</a>. June 2014. Proposed Standard. URL: <ahref="https://tools.ietf.org/html/rfc7231">https://tools.ietf.org/html/rfc7231</a>
<dtid="biblio-rfc7234">[RFC7234]
<dd>R. Fielding, Ed.; M. Nottingham, Ed.; J. Reschke, Ed.. <ahref="https://tools.ietf.org/html/rfc7234">Hypertext Transfer Protocol (HTTP/1.1): Caching</a>. June 2014. Proposed Standard. URL: <ahref="https://tools.ietf.org/html/rfc7234">https://tools.ietf.org/html/rfc7234</a>
+ <dtid="biblio-rfc7762">[RFC7762]
+ <dd>M. West. <ahref="https://tools.ietf.org/html/rfc7762">Initial Assignment for the Content Security Policy Directives Registry</a>. January 2016. Informational. URL: <ahref="https://tools.ietf.org/html/rfc7762">https://tools.ietf.org/html/rfc7762</a>
<dtid="biblio-secure-contexts">[SECURE-CONTEXTS]
<dd>Mike West; Yan Zhu. <ahref="https://w3c.github.io/webappsec-secure-contexts/">Secure Contexts</a>. WD. URL: <ahref="https://w3c.github.io/webappsec-secure-contexts/">https://w3c.github.io/webappsec-secure-contexts/</a>
0 comments on commit
4f63ba7