From 95316700dac82fecd3311104d3ecd980f52147b6 Mon Sep 17 00:00:00 2001 From: Yeger Date: Sun, 27 Oct 2024 09:18:33 +0200 Subject: [PATCH] Lint Missed a space :/ --- searx/plugins/calculator.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/searx/plugins/calculator.py b/searx/plugins/calculator.py index dd56ac787..fb262345f 100644 --- a/searx/plugins/calculator.py +++ b/searx/plugins/calculator.py @@ -93,7 +93,7 @@ def post_search(_request, search): return True query = search.search_query.query - + # in order to avoid DoS attacks with long expressions, ignore long expressions if len(query) > 100: return True