Skip to content

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

Repair DNS prefetch during cacheScan

hermens1da9aece12ed
diff --git a/source/de/anomic/plasma/plasmaHTCache.java b/source/de/anomic/plasma/plasmaHTCache.java
index 18d083f85..83b9521b9 100644
--- a/source/de/anomic/plasma/plasmaHTCache.java
+++ b/source/de/anomic/plasma/plasmaHTCache.java
@@ -475,6 +475,13 @@ public final class plasmaHTCache {
int p = s.indexOf("/");
if (p < 0) p = s.indexOf("\\");
if (p < 0) return null;
+ if (s.startsWith("tree") || s.startsWith("hash")) {
+ // remove prefix
+ s = s.substring(p + 1);
+ p = s.indexOf("/");
+ if (p < 0) p = s.indexOf("\\");
+ if (p < 0) return null;
+ }
// remove the protokoll
s = s.substring(p + 1);
p = s.indexOf("/");