Skip to content

Commit

Permalink
Add MIME type whitelist for "track" (text/vtt).
Browse files Browse the repository at this point in the history
  • Loading branch information
annevk committed Apr 8, 2015
1 parent 7022094 commit 44f237a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 3 additions & 1 deletion Overview.html
Expand Up @@ -1225,7 +1225,9 @@ <h4 id="should-response-to-request-be-blocked-due-to-nosniff?"><span class="secn
<var title="">MIMEType</var> (ignoring parameters) is <em>not</em>
`<code title="">text/css</code>`, return <b title="">blocked</b>.

<li><p class="XXX">"<code title="">track</code>" ...
<li><p>If <var title="">context</var> is "<code title="">track</code>" and
<var title="">MIMEType</var> (ignoring parameters) is <em>not</em>
`<code title="">text/vtt</code>`, return <b title="">blocked</b>.

<li><p>Return <b title="">allowed</b>.
</ol>
Expand Down
4 changes: 3 additions & 1 deletion Overview.src.html
Expand Up @@ -1175,7 +1175,9 @@ <h4><dfn>Should <var title>response</var> to <var title>request</var> be blocked
<var title>MIMEType</var> (ignoring parameters) is <em>not</em>
`<code title>text/css</code>`, return <b title>blocked</b>.

<li><p class=XXX>"<code title>track</code>" ...
<li><p>If <var title>context</var> is "<code title>track</code>" and
<var title>MIMEType</var> (ignoring parameters) is <em>not</em>
`<code title>text/vtt</code>`, return <b title>blocked</b>.

<li><p>Return <b title>allowed</b>.
</ol>
Expand Down

0 comments on commit 44f237a

Please sign in to comment.