Distributed Peer-to-Peer Web Search Engine and Intranet Search Appliance
Java decentralizedintranet-searchintranet-search-enginep2pp2p-networkprivacyprivacy-protectionsearch-enginesearchenginewebweb-search-enginewebsearchwebseearch-engine
limited htcache storage length
orbiter9d9a87f4457c
diff --git a/source/de/anomic/plasma/plasmaHTCache.java b/source/de/anomic/plasma/plasmaHTCache.javaindex 01b398fe2..113c17be1 100644--- a/source/de/anomic/plasma/plasmaHTCache.java+++ b/source/de/anomic/plasma/plasmaHTCache.java@@ -655,6 +655,7 @@ public final class plasmaHTCache {// we cannot match that here in the cache file path and therefore omit writing into the cacheif (this.cacheFile.getParentFile().isFile() || this.cacheFile.isDirectory()) { return "path_ambiguous"; }if (this.cacheFile.toString().indexOf("..") >= 0) { return "path_dangerous"; }+ if (this.cacheFile.getAbsolutePath().length() > 250) { return "path too long"; }// -CGI access in request// CGI access makes the page very individual, and therefore not usable in caches