From 28f12ef5a0917b8cefddb4d5f74c9aaeb945355f Mon Sep 17 00:00:00 2001 From: Adam Tauber Date: Sun, 4 Dec 2016 23:07:46 +0100 Subject: [PATCH] [fix] proper escaping of the search query in templates --- searx/templates/courgette/results.html | 10 +++++----- searx/templates/legacy/results.html | 10 +++++----- searx/templates/oscar/results.html | 14 +++++++------- searx/templates/pix-art/results.html | 6 +++--- 4 files changed, 20 insertions(+), 20 deletions(-) diff --git a/searx/templates/courgette/results.html b/searx/templates/courgette/results.html index 3ffbd588..c72b7c3f 100644 --- a/searx/templates/courgette/results.html +++ b/searx/templates/courgette/results.html @@ -1,6 +1,6 @@ {% extends "courgette/base.html" %} -{% block title %}{{ q }} - {% endblock %} -{% block meta %}{% endblock %} +{% block title %}{{ q|e }} - {% endblock %} +{% block meta %}{% endblock %} {% block content %}
{{ _('preferences') }}