Skip to content

Commit

Permalink
Add a note that Referrer-Policy header values should not be quoted
Browse files Browse the repository at this point in the history
Fixes #97
  • Loading branch information
estark37 committed Nov 5, 2017
1 parent a900fb2 commit e51d9f2
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
4 changes: 3 additions & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -1178,7 +1178,7 @@
</style>
<meta content="Bikeshed version 67155cabad72a8ab669a7d4421c90e2999a29b68" name="generator">
<link href="http://www.w3.org/TR/referrer-policy/" rel="canonical">
<meta content="42f952a8cbe3b0d6d469ea29e3e576c9ff6f414b" name="document-revision">
<meta content="a900fb2f8c41513a9dd8f9fbd7e3c72abc861bb9" name="document-revision">
<style>/* style-md-lists */

/* This is a weird hack for me not yet following the commonmark spec
Expand Down Expand Up @@ -1774,6 +1774,8 @@ <h3 class="heading settled" data-level="4.1" id="referrer-policy-header"><span c
browsers do not fail to parse the entire header field if it includes an
unknown policy value. <a href="#unknown-policy-values">§11.1 Unknown Policy Values</a> describes in greater detail
how new policy values can be deployed.</p>
<p class="note" role="note"><span>Note:</span> The quotes in the ABNF above are used to indicate literal strings.
Referrer-Policy header values should not be quoted.</p>
<p><a href="#integration-with-fetch">§5 Integration with Fetch</a> and <a href="#integration-with-html">§6 Integration with HTML</a> describe
how the <code>Referrer-Policy</code> header is processed.</p>
<section class="informative">
Expand Down
3 changes: 3 additions & 0 deletions index.src.html
Original file line number Diff line number Diff line change
Expand Up @@ -548,6 +548,9 @@ <h3 id="referrer-policy-header">Delivery via Referrer-Policy header</h3>
unknown policy value. [[#unknown-policy-values]] describes in greater detail
how new policy values can be deployed.

Note: The quotes in the ABNF above are used to indicate literal strings.
Referrer-Policy header values should not be quoted.

[[#integration-with-fetch]] and [[#integration-with-html]] describe
how the <code>Referrer-Policy</code> header is processed.

Expand Down

0 comments on commit e51d9f2

Please sign in to comment.