Changeset 05a63531


Ignore:
Timestamp:
Jan 12, 2009 2:31:43 PM (12 years ago)
Author:
zzz <zzz@…>
Branches:
master
Children:
70b99cf
Parents:
85615b9
Message:

.b32.i2p

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • apps/i2ptunnel/jsp/index.jsp

    r85615b9 r05a63531  
    197197            if ("httpserver".equals(indexBean.getInternalType(curServer)) && indexBean.getTunnelStatus(curServer) == IndexBean.RUNNING) {
    198198          %><label>Preview:</label>   
    199             <a class="control" title="Test HTTP server through I2P" href="http://<%=indexBean.getDestHashBase32(curServer)%>.i2p">Preview</a>     
     199            <a class="control" title="Test HTTP server through I2P" href="http://<%=indexBean.getDestHashBase32(curServer)%>.b32.i2p">Preview</a>     
    200200        <%
    201201            } else {
  • core/java/src/net/i2p/client/naming/HostsTxtNamingService.java

    r85615b9 r05a63531  
    7373
    7474        // Try Base32 decoding
    75         if (hostname.length() == BASE32_HASH_LENGTH + 4 && hostname.endsWith(".i2p")) {
     75        if (hostname.length() == BASE32_HASH_LENGTH + 8 && hostname.endsWith(".b32.i2p")) {
    7676            d = LookupDest.lookupBase32Hash(_context, hostname.substring(0, BASE32_HASH_LENGTH));
    7777            if (d != null) {
Note: See TracChangeset for help on using the changeset viewer.