Skip to content

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

test of ftp-urls in URL class

orbiter6cce47e217b6
diff --git a/source/de/anomic/net/URL.java b/source/de/anomic/net/URL.java
index da59f8387..d5148c201 100644
--- a/source/de/anomic/net/URL.java
+++ b/source/de/anomic/net/URL.java
@@ -319,7 +319,10 @@ public class URL {
new String[]{"http://www.anomic.de/home/index.html", "../test"},
new String[]{"http://www.anomic.de/home/index.html", "mailto:[email protected]"},
new String[]{null, "news:de.test"},
- new String[]{"http://www.anomic.de/home", "news:de.test"}
+ new String[]{"http://www.anomic.de/home", "news:de.test"},
+ new String[]{"http://www.anomic.de/home", "ftp://ftp.anomic.de/src"},
+ new String[]{null, "ftp://ftp.delegate.org/"},
+ new String[]{"http://www.anomic.de/home", "ftp://ftp.delegate.org/"}
};
String environment, url;
de.anomic.net.URL aURL = null;