Skip to content

SearXNG is a free internet metasearch engine which aggregates results from various search services and databases. Users are neither tracked nor profiled.

[fix] redirect when saving preferences

Markus Heiser2bf297b19ffe
diff --git a/searx/webapp.py b/searx/webapp.py
index 072f140ca..8058c6cd0 100755
--- a/searx/webapp.py
+++ b/searx/webapp.py
@@ -813,7 +813,7 @@ def preferences():
# save preferences
if request.method == 'POST':
- resp = make_response(url_for('index', _external=True))
+ resp = make_response(redirect(url_for('index', _external=True)))
try:
request.preferences.parse_form(request.form)
except ValidationException: