summaryrefslogtreecommitdiff
path: root/searx
diff options
context:
space:
mode:
Diffstat (limited to 'searx')
-rwxr-xr-xsearx/webapp.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/searx/webapp.py b/searx/webapp.py
index 94d421eb0..613849dc4 100755
--- a/searx/webapp.py
+++ b/searx/webapp.py
@@ -916,6 +916,7 @@ def autocompleter():
suggestions = json.dumps([sug_prefix, results])
mimetype = 'application/x-suggestions+json'
+ suggestions = escape(suggestions, False)
return Response(suggestions, mimetype=mimetype)