I2P Address: [http://git.idk.i2p]

Skip to content
Snippets Groups Projects
Commit 702e1c5a authored by zzz's avatar zzz
Browse files

Console: Fix escaping of search URLs on /confighome

parent ea386721
No related branches found
No related tags found
No related merge requests found
...@@ -18,13 +18,13 @@ public class SearchHelper extends HelperBase { ...@@ -18,13 +18,13 @@ public class SearchHelper extends HelperBase {
private static final char S = ','; private static final char S = ',';
// in case engines need to know where it came from // 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"; static final String PROP_ENGINES = "routerconsole.searchEngines";
private static final String PROP_DEFAULT = "routerconsole.searchEngine"; private static final String PROP_DEFAULT = "routerconsole.searchEngine";
static final String ENGINES_DEFAULT = static final String ENGINES_DEFAULT =
"eepsites.i2p" + S + "http://eepsites.i2p/Content/Search/SearchResults.aspx?inpQuery=%s" + SOURCE + S + "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 + //"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 + //"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 + //"sprongle.i2p" + S + "http://sprongle.i2p/sprongle.php?q=%s" + SOURCE + S +
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment