Skip to content

Commit c5abfd1

Browse files
SRI: Fixed several broken title links.
1 parent eb40c4e commit c5abfd1

File tree

2 files changed

+5
-8
lines changed

2 files changed

+5
-8
lines changed

specs/subresourceintegrity/index.html

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -424,7 +424,7 @@ <h4 id="priority">Priority</h4>
424424
<h3 id="response-verification-algorithms">Response verification algorithms</h3>
425425

426426
<section>
427-
<h4 id="apply-varalgorithmvar-to-varresponsevar">Apply <var>algorithm</var> to <var>response</var></h4>
427+
<h4 id="apply-algorithm-to-response">Apply <var>algorithm</var> to <var>response</var></h4>
428428

429429
<ol>
430430
<li>Let <var>result</var> be the result of <a href="#apply-algorithm-to-response">applying <var>algorithm</var></a>
@@ -436,11 +436,10 @@ <h4 id="apply-varalgorithmvar-to-varresponsevar">Apply <var>algorithm</var> to <
436436
<var>result</var>.</li>
437437
<li>Return <var>encodedResult</var>.</li>
438438
</ol>
439-
440439
</section>
441440
<!-- Algorithms::apply -->
442441
<section>
443-
<h4 id="is-varresponsevar-eligible-for-integrity-validation">Is <var>response</var> eligible for integrity validation</h4>
442+
<h4 id="is-response-eligible-for-integrity-validation">Is <var>response</var> eligible for integrity validation</h4>
444443

445444
<p>In order to mitigate an attacker’s ability to read data cross-origin by
446445
brute-forcing values via integrity checks, responses are only eligible for such
@@ -865,9 +864,6 @@ <h3 id="cross-origin-data-leakage">Cross-origin data leakage</h3>
865864
common usernames, and specify those hashes while repeatedly attempting
866865
to load the document.</p>
867866

868-
<p>User agents SHOULD mitigate the risk by refusing to fire <code>error</code> events
869-
on elements which loaded non-CORS cross-origin resources, but
870-
some side-channels will likely be difficult to avoid.</p>
871867
</section>
872868
<!-- /Security::cross-origin -->
873869

specs/subresourceintegrity/spec.markdown

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -301,6 +301,8 @@ only to simplify the algorithm description.
301301

302302
<section>
303303
#### Apply <var>algorithm</var> to <var>response</var>
304+
{: #apply-algorithm-to-response}
305+
[apply-algorithm]: #apply-algorithm-to-response
304306

305307
1. Let <var>result</var> be the result of [applying <var>algorithm</var>][apply-algorithm]
306308
to the [representation data][representationdata] without any content-codings
@@ -310,11 +312,10 @@ only to simplify the algorithm description.
310312
2. Let <var>encodedResult</var> be result of base64-encoding
311313
<var>result</var>.
312314
3. Return <var>encodedResult</var>.
313-
314-
[apply-algorithm]: #apply-algorithm-to-response
315315
</section><!-- Algorithms::apply -->
316316
<section>
317317
#### Is <var>response</var> eligible for integrity validation
318+
{: #is-response-eligible-for-integrity-validation}
318319
[eligible]: #is-response-eligible-for-integrity-validation
319320

320321
In order to mitigate an attacker's ability to read data cross-origin by

0 commit comments

Comments
 (0)