From e20ff77c104b163f655569921b99a816c04b87f6 Mon Sep 17 00:00:00 2001 From: orbiter Date: Sat, 22 Jul 2006 11:37:22 +0000 Subject: [PATCH] another bugfix in new url class git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@2318 6c8d7289-2bf4-0310-a012-ef5d649a1542 --- source/de/anomic/net/URL.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/de/anomic/net/URL.java b/source/de/anomic/net/URL.java index e3958c7c8..fa7529619 100644 --- a/source/de/anomic/net/URL.java +++ b/source/de/anomic/net/URL.java @@ -64,8 +64,8 @@ public class URL { if ((r = host.indexOf('@')) < 0) { userInfo = null; } else { - userInfo = host.substring(r + 1); - host = host.substring(0, r); + userInfo = host.substring(0, r); + host = host.substring(r + 1); } path = url.substring(q); }