From d83cc3084ae1dc7572d2bb7d5d9601d6b8620fe5 Mon Sep 17 00:00:00 2001 From: orbiter Date: Mon, 9 Jan 2006 00:16:34 +0000 Subject: [PATCH] fixed small problem when password cannot be decrypted with base64 git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@1292 6c8d7289-2bf4-0310-a012-ef5d649a1542 --- source/de/anomic/data/userDB.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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]);