Distributed Peer-to-Peer Web Search Engine and Intranet Search Appliance
Java decentralizedintranet-searchintranet-search-enginep2pp2p-networkprivacyprivacy-protectionsearch-enginesearchenginewebweb-search-enginewebsearchwebseearch-engine
BUGFIX for my last commit
borg-03009d8dca750eec
diff --git a/source/de/anomic/plasma/plasmaHTCache.java b/source/de/anomic/plasma/plasmaHTCache.javaindex 5c8ebd57a..c5d0d9d51 100644--- a/source/de/anomic/plasma/plasmaHTCache.java+++ b/source/de/anomic/plasma/plasmaHTCache.java@@ -521,7 +521,7 @@ public final class plasmaHTCache {public File getCachePath(URL url) {// this.log.logFinest("plasmaHTCache: getCachePath: IN=" + url.toString());String path = url.getPath();- String query = url.getQuery().replaceAll("[\"\\/:*?<>|]", "_"); // yes this is not reversible, but that is not needed (really?)+ String query = url.getQuery();if (!path.startsWith("/")) { path = "/" + path; }if (path.endsWith("/") && query == null) { path = path + "ndx"; }@@ -531,8 +531,9 @@ public final class plasmaHTCache {path = matcher.replaceAll("/!!/");matcher.reset(path);}- if (query != null) { path = path.concat("_").concat(query); }-+ if (query != null) {+ path = path.concat("_").concat(query.replaceAll("[\"\\/:*?<>|]", "_")); // yes this is not reversible, but that is not needed+ }// only set NO default portsint port = url.getPort();String protocol = url.getProtocol();