Skip to content

SearXNG is a free internet metasearch engine which aggregates results from various search services and databases. Users are neither tracked nor profiled.

[mod] remove X-XSS-Protection headers

Markus Heiserab8e5383fb60
diff --git a/docs/admin/settings/settings_server.rst b/docs/admin/settings/settings_server.rst
index b1b3a14f7..daba6d1dd 100644
--- a/docs/admin/settings/settings_server.rst
+++ b/docs/admin/settings/settings_server.rst
@@ -16,7 +16,6 @@
image_proxy: false
default_http_headers:
X-Content-Type-Options : nosniff
- X-XSS-Protection : 1; mode=block
X-Download-Options : noopen
X-Robots-Tag : noindex, nofollow
Referrer-Policy : no-referrer
diff --git a/searx/settings.yml b/searx/settings.yml
index ebd6d5463..8dbd6bc71 100644
--- a/searx/settings.yml
+++ b/searx/settings.yml
@@ -88,7 +88,6 @@ server:
method: "POST"
default_http_headers:
X-Content-Type-Options: nosniff
- X-XSS-Protection: 1; mode=block
X-Download-Options: noopen
X-Robots-Tag: noindex, nofollow
Referrer-Policy: no-referrer
diff --git a/tests/unit/settings/user_settings.yml b/tests/unit/settings/user_settings.yml
index fba8e6133..c4c4d74ef 100644
--- a/tests/unit/settings/user_settings.yml
+++ b/tests/unit/settings/user_settings.yml
@@ -19,7 +19,6 @@ server:
method: "POST"
default_http_headers:
X-Content-Type-Options: nosniff
- X-XSS-Protection: 1; mode=block
X-Download-Options: noopen
X-Robots-Tag: noindex, nofollow
Referrer-Policy: no-referrer