Skip to content

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

*) bugfix for URL generation from file see: http://www.yacy-forum.de/viewtopic.php?p=24116

theli0db237467fad
diff --git a/source/de/anomic/net/URL.java b/source/de/anomic/net/URL.java
index fa7529619..b9e8c99b0 100644
--- a/source/de/anomic/net/URL.java
+++ b/source/de/anomic/net/URL.java
@@ -76,7 +76,7 @@ public class URL {
}
public URL(File file) throws MalformedURLException {
- this("file", null, -1, file.getAbsolutePath());
+ this("file", "", -1, file.getAbsolutePath());
}
public URL(URL baseURL, String relPath) throws MalformedURLException {