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>
9 months ago
..
engines [format.python] initial formatting of the python code 3 years ago
network bing.py: resolve bing.com/ck/a redirections 2 years ago
settings [mod] remove X-XSS-Protection headers 9 months ago
__init__.py [format.python] initial formatting of the python code 3 years ago
test_answerers.py [format.python] initial formatting of the python code 3 years ago
test_engines_init.py Fix: don't crash when engine or name is missing in settings.yml 2 years ago
test_exceptions.py Add search.suspended_times settings 2 years ago
test_external_bangs.py [fix] external bangs: don't overwrite Bangs in data trie 3 years ago
test_locales.py [fix] spelling 1 year ago
test_plugins.py [mod] isolation of botdetection from the limiter 12 months ago
test_preferences.py [fix] move locale code from webapp.py to locales.py and fix #1303 2 years ago
test_query.py [feat] implement feeling lucky feature 1 year ago
test_results.py [format.python] initial formatting of the python code 3 years ago
test_search.py [feat] implement feeling lucky feature 1 year ago
test_settings_loader.py [fix] typos / reported by @kianmeng in searx PR-3366 2 years ago
test_utils.py [fix] HTMLParser: undocumented not implemented method 1 year ago
test_webadapter.py [fix] changeover of the unit tests to the simple theme 3 years ago
test_webapp.py [fix] spelling 1 year ago
test_webutils.py [fix] do highlight replacement at once 9 months ago