Changeset 1c7111e


Ignore:
Timestamp:
Jan 7, 2009 2:48:16 PM (12 years ago)
Author:
zzz <zzz@…>
Branches:
master
Children:
7b758d89
Parents:
831f09c
Message:

alternate base32 check

File:
1 edited

Legend:

Unmodified
Added
Removed
  • apps/addressbook/java/src/addressbook/AddressBook.java

    r831f09c r1c7111e  
    182182                // Base32 spoofing (52chars.i2p)
    183183                (! (host.length() == 56 && host.substring(0,52).replaceAll("[a-z2-7]", "").length() == 0)) &&
     184                // ... or maybe we do Base32 this way ...
     185                (! host.equals("b32.i2p")) &&
     186                (! host.endsWith(".b32.i2p")) &&
    184187                // some reserved names that may be used for local configuration someday
    185188                (! host.equals("proxy.i2p")) &&
Note: See TracChangeset for help on using the changeset viewer.