- Timestamp:
- Mar 28, 2019 5:10:07 PM (2 years ago)
- Branches:
- master
- Children:
- 440d557
- Parents:
- c5f9aea5
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
apps/i2ptunnel/java/src/net/i2p/i2ptunnel/access/FilterDefinitionElement.java
rc5f9aea5 r910a0d8 22 22 23 23 protected static Hash fromBase32(String b32) throws InvalidDefinitionException { 24 if (!b32.endsWith(" b32.i2p"))24 if (!b32.endsWith(".b32.i2p")) 25 25 throw new InvalidDefinitionException("Invalid b32 " + b32); 26 b32 = b32.substring(0, b32.length() - 7);26 b32 = b32.substring(0, b32.length() - 8); 27 27 return new Hash(Base32.decode(b32)); 28 28 }
Note: See TracChangeset
for help on using the changeset viewer.