From 39f5035e1399713af7b11081e56d8f1a479a7b3a Mon Sep 17 00:00:00 2001 From: Adam Tauber Date: Fri, 9 Dec 2016 13:48:04 +0100 Subject: [PATCH] [fix] query escaping in rss/opensearch output --- searx/templates/courgette/opensearch_response_rss.xml | 8 ++++---- searx/templates/legacy/opensearch_response_rss.xml | 8 ++++---- searx/templates/oscar/opensearch_response_rss.xml | 8 ++++---- 3 files changed, 12 insertions(+), 12 deletions(-) diff --git a/searx/templates/courgette/opensearch_response_rss.xml b/searx/templates/courgette/opensearch_response_rss.xml index 5673eb2e1..ddb60fa5e 100644 --- a/searx/templates/courgette/opensearch_response_rss.xml +++ b/searx/templates/courgette/opensearch_response_rss.xml @@ -3,14 +3,14 @@ xmlns:opensearch="http://a9.com/-/spec/opensearch/1.1/" xmlns:atom="http://www.w3.org/2005/Atom"> - Searx search: {{ q }} - {{ base_url }}?q={{ q }} - Search results for "{{ q }}" - searx + Searx search: {{ q|e }} + {{ base_url }}?q={{ q|e }} + Search results for "{{ q|e }}" - searx {{ number_of_results }} 1 {{ number_of_results }}