Distributed Peer-to-Peer Web Search Engine and Intranet Search Appliance
Java decentralizedintranet-searchintranet-search-enginep2pp2p-networkprivacyprivacy-protectionsearch-enginesearchenginewebweb-search-enginewebsearchwebseearch-engine
small change
borg-03005fb2b017cb05
diff --git a/source/de/anomic/plasma/plasmaHTCache.java b/source/de/anomic/plasma/plasmaHTCache.javaindex 6d5e95af5..f8bcc4f08 100644--- a/source/de/anomic/plasma/plasmaHTCache.java+++ b/source/de/anomic/plasma/plasmaHTCache.java@@ -429,13 +429,9 @@ public final class plasmaHTCache {public File getCachePath(URL url) {// this.log.logFinest("plasmaHTCache: getCachePath: IN=" + url.toString());String remotePath = url.getPath();- if (!remotePath.startsWith("/")) remotePath = "/" + remotePath;- if (remotePath.indexOf('#') > 0) {- remotePath.substring(0, remotePath.indexOf('#'));- } else if (remotePath.endsWith("/")) {- remotePath = remotePath + "ndx";- }- remotePath = remotePath.replaceAll("[?&:]", "_"); // yes this is not reversible, but that is not needed+ if (remotePath.endsWith("/")) { remotePath = remotePath + "ndx"; }+ if (!remotePath.startsWith("/")) { remotePath = "/" + remotePath; }+// remotePath = remotePath.replaceAll("[?&:]", "_"); // yes this is not reversible, but that is not neededint port = url.getPort();if (port < 0) {if (url.getProtocol().equalsIgnoreCase("http")) port = 80;