Changeset a02cc258


Ignore:
Timestamp:
Jul 24, 2013 6:03:50 PM (7 years ago)
Author:
zzz <zzz@…>
Branches:
master
Children:
8ebacf4c, dd181a9
Parents:
8aeca5b4
Message:

UPnP Fix for devices that return base URLs with trailing '/' (ticket #986)

Files:
3 edited

Legend:

Unmodified
Added
Removed
  • history.txt

    r8aeca5b4 ra02cc258  
    112012-07-24 zzz
    22 * GeoIP: Fix lookups, broken in IPv6 branch
    3  * UPnP: main() tweaks for debugging
     3 * UPnP:
     4   - main() tweaks for debugging
     5   - Fix for devices that return base URLs with trailing '/' (ticket #986)
    46
    572012-07-22 zzz
  • router/java/src/net/i2p/router/RouterVersion.java

    r8aeca5b4 ra02cc258  
    1919    public final static String ID = "Monotone";
    2020    public final static String VERSION = CoreVersion.VERSION;
    21     public final static long BUILD = 9;
     21    public final static long BUILD = 10;
    2222
    2323    /** for example "-test" */
  • router/java/src/org/cybergarage/upnp/Device.java

    r8aeca5b4 ra02cc258  
    284284
    285285                urlString = HTTP.toRelativeURL(urlString);
     286                // I2P fix for devices that return a base URL with trailing /
     287                if (urlBaseStr.endsWith("/") && urlString.startsWith("/"))
     288                        urlString = urlString.substring(1);
    286289                String absUrl = urlBaseStr + urlString;
    287290                try {
Note: See TracChangeset for help on using the changeset viewer.