@@ -117,7 +117,7 @@ spec: SHA2; urlPrefix: http://csrc.nist.gov/publications/fips/fips180-4/fips-180
117
117
of the representation of the resource the author expects to load. For instance,
118
118
an author may wish to load some framework from a shared server rather than hosting it
119
119
on their own origin. Specifying that the <em> expected</em> SHA-384 hash of
120
- `https://example.com/example-framework.js`
120
+ `https://example.com/v1.0/ example-framework.js`
121
121
is `Li9vy3DqF8tnTXuiaAJuML3ky+er10rcgNR/VqsVpcw+ThHmYcwiB1pbOxEbzJr7` means
122
122
that the user agent can verify that the data it loads from that URL matches
123
123
that expected hash before executing the JavaScript it contains. This
@@ -129,7 +129,7 @@ spec: SHA2; urlPrefix: http://csrc.nist.gov/publications/fips/fips180-4/fips-180
129
129
130
130
<div class="example">
131
131
<pre>
132
- <script src="https://example.com/example-framework.js"
132
+ <script src="https://example.com/v1.0/ example-framework.js"
133
133
integrity="sha384-Li9vy3DqF8tnTXuiaAJuML3ky+er10rcgNR/VqsVpcw+ThHmYcwiB1pbOxEbzJr7"
134
134
crossorigin="anonymous"></script>
135
135
</pre>
@@ -164,7 +164,7 @@ spec: SHA2; urlPrefix: http://csrc.nist.gov/publications/fips/fips180-4/fips-180
164
164
165
165
<div class="example">
166
166
<pre>
167
- <link rel="stylesheet" href="https://site53.example.net/style.css"
167
+ <link rel="stylesheet" href="https://site53.example.net/v1.0/ style.css"
168
168
integrity="sha384-+/M6kredJcxdsqkczBUjMLvqyHb1K/JThDXWsBVxMEeZHEaMKEOEct339VItX1zB"
169
169
crossorigin="anonymous">
170
170
</pre>
@@ -411,7 +411,7 @@ spec: SHA2; urlPrefix: http://csrc.nist.gov/publications/fips/fips180-4/fips-180
411
411
412
412
<div class="example">
413
413
<pre>
414
- <script src="https://example.com/example-framework.js"
414
+ <script src="https://example.com/v1.0/ example-framework.js"
415
415
integrity="sha384-Li9vy3DqF8tnTXuiaAJuML3ky+er10rcgNR/VqsVpcw+ThHmYcwiB1pbOxEbzJr7
416
416
sha384-+/M6kredJcxdsqkczBUjMLvqyHb1K/JThDXWsBVxMEeZHEaMKEOEct339VItX1zB"
417
417
crossorigin="anonymous"></script>
0 commit comments