Changeset f17776e


Ignore:
Timestamp:
Mar 22, 2019 3:41:16 PM (17 months ago)
Author:
zzz <zzz@…>
Branches:
master
Children:
00d4525
Parents:
0584548
Message:

i2ptunnel: Escape {} in URLs (ticket #2130)

Files:
3 edited

Legend:

Unmodified
Added
Removed
  • apps/i2ptunnel/java/src/net/i2p/i2ptunnel/I2PTunnelHTTPClient.java

    r0584548 rf17776e  
    503503                                String schemeHostPort = request.substring(0, idx);
    504504                                String rest = request.substring(idx);
     505                                // not escaped by all browsers, may be specific to query, see ticket #2130
    505506                                rest = rest.replace("[", "%5B");
    506507                                rest = rest.replace("]", "%5D");
    507508                                rest = rest.replace("|", "%7C");
     509                                rest = rest.replace("{", "%7B");
     510                                rest = rest.replace("}", "%7D");
    508511                                String testRequest = schemeHostPort + rest;
    509512                                if (!testRequest.equals(request)) {
  • history.txt

    r0584548 rf17776e  
     12019-03-22 zzz
     2 * i2ptunnel: Escape {} in URLs (ticket #2130)
     3
    14* 2019-03-21 0.9.39 released
    25
  • router/java/src/net/i2p/router/RouterVersion.java

    r0584548 rf17776e  
    1919    public final static String ID = "Monotone";
    2020    public final static String VERSION = CoreVersion.VERSION;
    21     public final static long BUILD = 0;
     21    public final static long BUILD = 1;
    2222
    2323    /** for example "-test" */
Note: See TracChangeset for help on using the changeset viewer.