Changeset 702e1c5a


Ignore:
Timestamp:
May 9, 2016 1:26:18 PM (4 years ago)
Author:
zzz <zzz@…>
Branches:
master
Children:
97fca96
Parents:
ea38672
Message:

Console: Fix escaping of search URLs on /confighome

File:
1 edited

Legend:

Unmodified
Added
Removed
  • apps/routerconsole/java/src/net/i2p/router/web/SearchHelper.java

    rea38672 r702e1c5a  
    1919    private static final char S = ',';
    2020    // in case engines need to know where it came from
    21     private static final String SOURCE = "&amp;ref=console";
     21    private static final String SOURCE = "&ref=console";
    2222    static final String PROP_ENGINES = "routerconsole.searchEngines";
    2323    private static final String PROP_DEFAULT = "routerconsole.searchEngine";
     
    2525    static final String ENGINES_DEFAULT =
    2626        "eepsites.i2p" + S + "http://eepsites.i2p/Content/Search/SearchResults.aspx?inpQuery=%s" + SOURCE + S +
    27         "epsilon.i2p" + S + "http://epsilon.i2p/search.jsp?q=%s" + SOURCE + S +
     27        "epsilon.i2p" + S + "http://epsilon.i2p/search.jsp?q=%s" + SOURCE + // S +
    2828        //"searchthis.i2p" + S + "http://searchthis.i2p/cgi-bin/search.cgi?q=%s" + SOURCE + S +
    2929        //"simple-search.i2p" + S + "http://simple-search.i2p/search.sh?search=%s" + SOURCE + S +
Note: See TracChangeset for help on using the changeset viewer.