mirror of
https://github.com/searx/searx
synced 2025-08-30 14:08:47 +00:00
[fix] query escaped in all htmls, invalid todo removed
This commit is contained in:
@@ -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:
|
||||
|
Reference in New Issue
Block a user