Distributed Peer-to-Peer Web Search Engine and Intranet Search Appliance
Java decentralizedintranet-searchintranet-search-enginep2pp2p-networkprivacyprivacy-protectionsearch-enginesearchenginewebweb-search-enginewebsearchwebseearch-engine
fix for http://forum.yacy-websuche.de/viewtopic.php?p=17504#p17504
orbiter3e9dcfc2049c
diff --git a/source/de/anomic/crawler/retrieval/HTTPLoader.java b/source/de/anomic/crawler/retrieval/HTTPLoader.javaindex b49244cca..1d42f6f0e 100644--- a/source/de/anomic/crawler/retrieval/HTTPLoader.java+++ b/source/de/anomic/crawler/retrieval/HTTPLoader.java@@ -88,6 +88,7 @@ public final class HTTPLoader {}final String host = request.url().getHost();+ if (host == null || host.length() < 2) throw new IOException("host is not well-formed: '" + host + "'");final String path = request.url().getFile();int port = request.url().getPort();final boolean ssl = request.url().getProtocol().equals("https");