Skip to content

Commit 3e2666d

Browse files
committed
fixup note
1 parent 31577f2 commit 3e2666d

File tree

2 files changed

+8
-9
lines changed

2 files changed

+8
-9
lines changed

index.html

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1214,7 +1214,7 @@
12141214
</style>
12151215
<meta content="Bikeshed version 08c4b0e94d147852f66673459784d3429bb3bda1" name="generator">
12161216
<link href="http://www.w3.org/TR/referrer-policy/" rel="canonical">
1217-
<meta content="20aad3a785a5ba2ab67c0780c9cded9c45e37735" name="document-revision">
1217+
<meta content="31577f26f47d81bf390ca4f04f217468d742fcf1" name="document-revision">
12181218
<style>/* style-md-lists */
12191219

12201220
/* This is a weird hack for me not yet following the commonmark spec
@@ -1963,10 +1963,9 @@ <h3 class="heading settled dfn-paneled" data-dfn-type="dfn" data-export data-lev
19631963
<li> Let <var>referrerURL</var> be the result of <a href="#strip-url">stripping <var>referrerSource</var> for use as a referrer.</a>
19641964
<li> Let <var>referrerOrigin</var> be the result of <a href="#strip-url">stripping <var>referrerSource</var> for use as a
19651965
referrer</a>, with the <code><a data-link-type="dfn" href="#origin-only-flag" id="ref-for-origin-only-flag">origin-only flag</a></code> set to <code>true</code>.
1966-
<li>
1967-
<p class="note" role="note">Note: The user agent MAY alter <var>referrerURL</var> or <var>referrerOrigin</var> at this point to enforce arbitrary policy considerations in the
1968-
interests of minimizing data leakage. For example, the user agent could strip the URL down to
1969-
an origin, modify its <a data-link-type="dfn" href="https://url.spec.whatwg.org/#concept-url-host" id="ref-for-concept-url-host">host</a>, replace it with an empty string, etc.</p>
1966+
<li> The user agent MAY alter <var>referrerURL</var> or <var>referrerOrigin</var> at this point to
1967+
enforce arbitrary policy considerations in the interests of minimizing data leakage. For
1968+
example, the user agent could strip the URL down to an origin, modify its <a data-link-type="dfn" href="https://url.spec.whatwg.org/#concept-url-host" id="ref-for-concept-url-host">host</a>, replace it with an empty string, etc.
19701969
<li>
19711970
Execute the statements corresponding to the value of <var>policy</var>:
19721971
<dl class="switch">

index.src.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -818,10 +818,10 @@ <h3 id="determine-requests-referrer" dfn export>
818818
<code>true</code>.
819819
</li>
820820
<li>
821-
<p class="note">Note: The user agent MAY alter <var>referrerURL</var> or
822-
<var>referrerOrigin</var> at this point to enforce arbitrary policy considerations in the
823-
interests of minimizing data leakage. For example, the user agent could strip the URL down to
824-
an origin, modify its <a for="url">host</a>, replace it with an empty string, etc.</p>
821+
The user agent MAY alter <var>referrerURL</var> or <var>referrerOrigin</var> at this point to
822+
enforce arbitrary policy considerations in the interests of minimizing data leakage. For
823+
example, the user agent could strip the URL down to an origin, modify its
824+
<a for="url">host</a>, replace it with an empty string, etc.
825825
</li>
826826

827827
<li>

0 commit comments

Comments
 (0)