Skip to content

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

another bugfix in new url class

orbitere20ff77c104b
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);
}