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] query escaped in all htmls, invalid todo removed

Adam Taubered925cf561b9
diff --git a/searx/webapp.py b/searx/webapp.py
index ee516031a..b586aa2d2 100644
--- a/searx/webapp.py
+++ b/searx/webapp.py
@@ -307,7 +307,6 @@ def autocompleter():
else:
request_data = request.args
- # TODO fix XSS-vulnerability
query = request_data.get('q', '').encode('utf-8')
if not query: