Repair DNS prefetch during cacheScan

git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@2744 6c8d7289-2bf4-0310-a012-ef5d649a1542
pull/1/head
hermens 19 years ago
parent 97e24b63c7
commit 1da9aece12

@ -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("/");

Loading…
Cancel
Save