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)