Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Omit referrers on cross-origin requests from an .onion address #156

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions index.src.html
Original file line number Diff line number Diff line change
Expand Up @@ -850,6 +850,12 @@ <h3 id="determine-requests-referrer" dfn export>
Let request's <dfn>referrerURL</dfn> be the result of <a href="#strip-url">stripping
<var>referrerSource</var> for use as a referrer.</a>
</li>
<li>
If the <a for=url>origin</a> of <a>referrerURL</a> has a <a for=origin>host</a> that
ends with <code>.onion.</code> or <code>.onion</code>, the special-use domain name defined
in [[!RFC7686]], and the request is a <a>cross-origin-referrer request</a>, then return
<code>no referrer</code>.
</li>
<li>
Let <var>referrerOrigin</var> be the result of
<a href="#strip-url">stripping <var>referrerSource</var> for use as a
Expand Down