From 4a7a9aac95e3325a453f71ead56e9301a4ca8201 Mon Sep 17 00:00:00 2001
From: zzz <zzz@i2pmail.org>
Date: Tue, 5 Dec 2023 08:43:00 -0500
Subject: [PATCH] i2ptunnel: Remove dup headers in error pages

---
 apps/i2ptunnel/resources/proxy/ahelper-conflict-header.ht | 1 -
 apps/i2ptunnel/resources/proxy/ahelper-new-header.ht      | 1 -
 apps/i2ptunnel/resources/proxy/dnfh-header.ht             | 3 +--
 3 files changed, 1 insertion(+), 4 deletions(-)

diff --git a/apps/i2ptunnel/resources/proxy/ahelper-conflict-header.ht b/apps/i2ptunnel/resources/proxy/ahelper-conflict-header.ht
index 89a0a0b89a..13cf415455 100644
--- a/apps/i2ptunnel/resources/proxy/ahelper-conflict-header.ht
+++ b/apps/i2ptunnel/resources/proxy/ahelper-conflict-header.ht
@@ -1,6 +1,5 @@
 HTTP/1.1 409 Conflict
 Content-Type: text/html; charset=UTF-8
-Referrer-Policy: no-referrer
 Cache-Control: no-cache
 Connection: close
 X-XSS-Protection: 1; mode=block
diff --git a/apps/i2ptunnel/resources/proxy/ahelper-new-header.ht b/apps/i2ptunnel/resources/proxy/ahelper-new-header.ht
index bd6070b925..a40cd740e7 100644
--- a/apps/i2ptunnel/resources/proxy/ahelper-new-header.ht
+++ b/apps/i2ptunnel/resources/proxy/ahelper-new-header.ht
@@ -1,6 +1,5 @@
 HTTP/1.1 409 New Address
 Content-Type: text/html; charset=UTF-8
-Referrer-Policy: no-referrer
 Cache-Control: no-cache
 Connection: close
 X-XSS-Protection: 1; mode=block
diff --git a/apps/i2ptunnel/resources/proxy/dnfh-header.ht b/apps/i2ptunnel/resources/proxy/dnfh-header.ht
index f5500a58ae..6f919b074c 100644
--- a/apps/i2ptunnel/resources/proxy/dnfh-header.ht
+++ b/apps/i2ptunnel/resources/proxy/dnfh-header.ht
@@ -1,6 +1,5 @@
 HTTP/1.1 500 Domain Not Found
 Content-Type: text/html; charset=UTF-8
-Referrer-Policy: no-referrer
 Cache-Control: no-cache
 Connection: close
 X-XSS-Protection: 1; mode=block
@@ -34,4 +33,4 @@ _("Seeing this page often? See {0}the FAQ{1} for help in {2}adding some subscrip
 </p>
 <hr>
 <span><b>_("Could not find the following destination:")</b>
-</span>
+</span>
-- 
GitLab