You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
searxng/tests/unit/settings
Markus Heiser ab8e5383fb [mod] remove X-XSS-Protection headers
Deprecated header not used by browsers nowadays[1]:

"""In modern browsers, X-XSS-Protection has been deprecated in favor of the
Content-Security-Policy to disable the use of inline JavaScript. Its use can
introduce XSS vulnerabilities in otherwise safe websites. This should not be
used unless you need to support older web browsers that don’t yet support CSP.
It is thus recommended to set the header as X-XSS-Protection: 0."""[2]

[1] https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/X-XSS-Protection
[2] https://infosec.mozilla.org/guidelines/web_security#x-xss-protection

Closes: https://github.com/searxng/searxng/issues/3171
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
4 months ago
..
empty_settings.yml [enh] settings.yml: add use_default_settings option (2nd version) 4 years ago
syntaxerror_settings.yml [yamllint] tests/unit/settings/syntaxerror_settings.yml 3 years ago
test_settings.yml [fix] make flask_babel.gettext() work in engine modules (L10n & threads) 10 months ago
user_settings.yml [mod] remove X-XSS-Protection headers 4 months ago
user_settings_keep_only.yml [yamllint] tests/unit/settings/user_settings_keep_only.yml 3 years ago
user_settings_remove.yml [yamllint] tests/unit/settings/user_settings_remove.yml 3 years ago
user_settings_remove2.yml [yamllint] tests/unit/settings/user_settings_remove2.yml 3 years ago
user_settings_simple.yml [yamllint] tests/unit/settings/user_settings_simple.yml 3 years ago