From 904a8e7e3f62b32c117ecddfeae39ef3f5e47d1f Mon Sep 17 00:00:00 2001 From: Hypolite Petovan Date: Wed, 18 Oct 2017 23:44:11 -0400 Subject: [PATCH] Remove extra / in url_for parameter for oscar theme The `filename` parameter of the `url_for` function doesn't need a leading `/`, or else the resulting URL features a double-slash `//` that throws off searx 0.12.0 with Apache 2.4.25 on Debian, resulting in missing favicons. --- searx/templates/oscar/macros.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/searx/templates/oscar/macros.html b/searx/templates/oscar/macros.html index 6235bcc6..0ff95752 100644 --- a/searx/templates/oscar/macros.html +++ b/searx/templates/oscar/macros.html @@ -5,7 +5,7 @@ {% macro draw_favicon(favicon) -%} - {{ favicon }} + {{ favicon }} {%- endmacro %} {%- macro result_link(url, title, classes='') -%}