From 702e1c5a787e8c4088a5bfe01d5b417dcb56e3ee Mon Sep 17 00:00:00 2001 From: zzz <zzz@mail.i2p> Date: Mon, 9 May 2016 13:26:18 +0000 Subject: [PATCH] Console: Fix escaping of search URLs on /confighome --- .../java/src/net/i2p/router/web/SearchHelper.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/routerconsole/java/src/net/i2p/router/web/SearchHelper.java b/apps/routerconsole/java/src/net/i2p/router/web/SearchHelper.java index b9e40f9596..4227e002c9 100644 --- a/apps/routerconsole/java/src/net/i2p/router/web/SearchHelper.java +++ b/apps/routerconsole/java/src/net/i2p/router/web/SearchHelper.java @@ -18,13 +18,13 @@ public class SearchHelper extends HelperBase { private static final char S = ','; // in case engines need to know where it came from - private static final String SOURCE = "&ref=console"; + private static final String SOURCE = "&ref=console"; static final String PROP_ENGINES = "routerconsole.searchEngines"; private static final String PROP_DEFAULT = "routerconsole.searchEngine"; static final String ENGINES_DEFAULT = "eepsites.i2p" + S + "http://eepsites.i2p/Content/Search/SearchResults.aspx?inpQuery=%s" + SOURCE + S + - "epsilon.i2p" + S + "http://epsilon.i2p/search.jsp?q=%s" + SOURCE + S + + "epsilon.i2p" + S + "http://epsilon.i2p/search.jsp?q=%s" + SOURCE + // S + //"searchthis.i2p" + S + "http://searchthis.i2p/cgi-bin/search.cgi?q=%s" + SOURCE + S + //"simple-search.i2p" + S + "http://simple-search.i2p/search.sh?search=%s" + SOURCE + S + //"sprongle.i2p" + S + "http://sprongle.i2p/sprongle.php?q=%s" + SOURCE + S + -- GitLab