about summary refs log tree commit diff
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2023-11-16 19:38:35 +0000
committerLaurent Bercot <ska@appnovation.com>2023-11-16 19:38:35 +0000
commit7ec647fa64c0a6f29cbb83cc264868b15e4bb046 (patch)
treeed55c50c45a613367692457b5fcbc20c0eb05804
parent88f39221eb9a22a40f69c07d3b45706bad99abbe (diff)
downloadtipidee-7ec647fa64c0a6f29cbb83cc264868b15e4bb046.tar.gz
tipidee-7ec647fa64c0a6f29cbb83cc264868b15e4bb046.tar.xz
tipidee-7ec647fa64c0a6f29cbb83cc264868b15e4bb046.zip
Remove obsolete Referrer-Policy default header
Signed-off-by: Laurent Bercot <ska@appnovation.com>
-rw-r--r--src/config/headers.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/config/headers.c b/src/config/headers.c
index 077a733..0afdfb3 100644
--- a/src/config/headers.c
+++ b/src/config/headers.c
@@ -28,7 +28,6 @@ static struct builtinheaders_s const builtinheaders[] =
   { .key = "Content-Length", .value = 0, .overridable = 0 },
   { .key = "Content-Security-Policy", .value = "default-src 'self'; style-src 'self' 'unsafe-inline';", .overridable = 1 },
   { .key = "Date", .value = 0, .overridable = 0 },
-  { .key = "Referrer-Policy", .value = "no-referrer-when-downgrade", .overridable = 1 },
   { .key = "Server", .value = "tipidee/" TIPIDEE_VERSION, .overridable = 0 },
   { .key = "Status", .value = 0, .overridable = 0 },
   { .key = "Vary", .value = "Accept-Encoding", .overridable = 0 },