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 38431d2e14 [fix] correct determination of the IP for the request
For correct determination of the IP to the request the function
botdetection.get_real_ip() is implemented.  This fonction is used in the
ip_limit and link_token method of the botdetection and it is used in the
self_info plugin.

A documentation about the X-Forwarded-For header has been added.

[1] https://github.com/searxng/searxng/pull/2357#issuecomment-1566211059

Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
1 year ago
..
engines
network
settings
__init__.py
test_answerers.py
test_engines_init.py
test_exceptions.py
test_external_bangs.py
test_locales.py [mod] replace utils.match_language by locales.match_locale 2 years ago
test_plugins.py [fix] correct determination of the IP for the request 1 year ago
test_preferences.py
test_query.py Add "Auto-detected" as a language. 2 years ago
test_results.py
test_search.py Add "Auto-detected" as a language. 2 years ago
test_settings_loader.py
test_standalone_searx.py
test_utils.py [mod] replace utils.match_language by locales.match_locale 2 years ago
test_webadapter.py
test_webapp.py
test_webutils.py