From 43afe369dffd014f451caed0b32796e2516f2090 Mon Sep 17 00:00:00 2001 From: Francois Marier Date: Mon, 8 Nov 2021 19:11:17 -0800 Subject: [PATCH] Omit referrers on cross-origin requests from an .onion address (fixes #155) --- index.src.html | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/index.src.html b/index.src.html index f8f0e40..3a8b1b5 100644 --- a/index.src.html +++ b/index.src.html @@ -850,6 +850,12 @@

Let request's referrerURL be the result of stripping referrerSource for use as a referrer. +
  • + If the origin of referrerURL has a host that + ends with .onion. or .onion, the special-use domain name defined + in [[!RFC7686]], and the request is a cross-origin-referrer request, then return + no referrer. +
  • Let referrerOrigin be the result of stripping referrerSource for use as a