diff --git a/source/net/yacy/cora/document/MultiProtocolURI.java b/source/net/yacy/cora/document/MultiProtocolURI.java index 62ee4f994..58e3ef437 100644 --- a/source/net/yacy/cora/document/MultiProtocolURI.java +++ b/source/net/yacy/cora/document/MultiProtocolURI.java @@ -560,7 +560,12 @@ public class MultiProtocolURI implements Serializable, Comparable= 0 && ((ip6 = this.host.indexOf("]", ip6)) > 0)) { + pss = ip6 + 1; + } + final int r = this.host.indexOf(":", pss); if (r < 0) { this.port = dflt; } else { @@ -1164,13 +1169,14 @@ public class MultiProtocolURI implements Serializable, Comparable/ may have many '/' if the host is omitted and the path starts with '/' @@ -1221,9 +1227,9 @@ public class MultiProtocolURI implements Serializable, Comparable