SearXNG is a free internet metasearch engine which aggregates results from various search services and databases. Users are neither tracked nor profiled.
Python bingbravedegoogleduckduckgogooglemetasearchprivacypythonqwantsearchsearch-enginesearxsearxngstartpageyahoo
[mod] limiter plugin: Accept-Encoding handling
Léon Tiekötter221740f76e4f
diff --git a/searx/plugins/limiter.py b/searx/plugins/limiter.pyindex c9aa36265..c6f5d6a0f 100644--- a/searx/plugins/limiter.py+++ b/searx/plugins/limiter.py@@ -67,7 +67,7 @@ def is_accepted_request() -> bool:return Falseaccept_encoding_list = [l.strip() for l in request.headers.get('Accept-Encoding', '').split(',')]- if 'gzip' not in accept_encoding_list or 'deflate' not in accept_encoding_list:+ if 'gzip' not in accept_encoding_list and 'deflate' not in accept_encoding_list:logger.debug("suspicious Accept-Encoding") # pylint: disable=undefined-variablereturn False