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
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>
8 months ago
..
engines
network
settings [mod] remove X-XSS-Protection headers 8 months ago
__init__.py
test_answerers.py
test_engines_init.py
test_exceptions.py
test_external_bangs.py
test_locales.py [fix] spelling 1 year ago
test_plugins.py [mod] isolation of botdetection from the limiter 11 months ago
test_preferences.py
test_query.py [feat] implement feeling lucky feature 1 year ago
test_results.py
test_search.py [feat] implement feeling lucky feature 1 year ago
test_settings_loader.py
test_utils.py [fix] HTMLParser: undocumented not implemented method 12 months ago
test_webadapter.py
test_webapp.py [fix] spelling 1 year ago
test_webutils.py [fix] do highlight replacement at once 8 months ago