Skip to content

Distributed Peer-to-Peer Web Search Engine and Intranet Search Appliance

fixed small problem when password cannot be decrypted with base64

orbiterd83cc3084ae1
diff --git a/source/de/anomic/data/userDB.java b/source/de/anomic/data/userDB.java
index f22388d60..df1c8a3ef 100644
--- a/source/de/anomic/data/userDB.java
+++ b/source/de/anomic/data/userDB.java
@@ -158,7 +158,7 @@ public final class userDB {
auth=auth.trim().substring(6);
try{
auth=kelondroBase64Order.standardCoder.decodeString(auth);
- }catch(StringIndexOutOfBoundsException e){} //no valid Base64
+ }catch(RuntimeException e){} //no valid Base64
String[] tmp=auth.split(":");
if(tmp.length == 2){
/*entry=this.getEntry(tmp[0]);