Skip to content

Commit d6f77a7

Browse files
authored
Fix typos in CSP headers (#130)
CSP doesn't use an equal sign between field names and values. Closed #129
1 parent 6fb92dc commit d6f77a7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

index.src.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,7 @@ <h3 id="examples">Examples</h3>
190190
And the following headers, which direct CSP and HPKP reports to that group:
191191

192192
<pre>
193-
<a>Content-Security-Policy</a>: ...; <a lt="reports directive">report-to</a>=endpoint-1
193+
<a>Content-Security-Policy</a>: ...; <a lt="reports directive">report-to</a> endpoint-1
194194
<a>Public-Key-Pins</a>: ...; report-to=endpoint-1
195195
</pre>
196196
</div>
@@ -218,7 +218,7 @@ <h3 id="examples">Examples</h3>
218218
endpoint:
219219

220220
<pre>
221-
<a>Content-Security-Policy</a>: ...; <a lt="reports directive">report-to</a>=csp-endpoint
221+
<a>Content-Security-Policy</a>: ...; <a lt="reports directive">report-to</a> csp-endpoint
222222
<a>Public-Key-Pins</a>: ...; report-to=hpkp-endpoint
223223
</pre>
224224
</div>

0 commit comments

Comments
 (0)