Skip to content

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

Bugfix 5.0 to old version See http://www.yacy-forum.de/viewtopic.php?t=1064

borg-0300904ab7aa3942
diff --git a/htroot/ProxyIndexingMonitor_p.java b/htroot/ProxyIndexingMonitor_p.java
index 0aaf83d61..c4a2ae5af 100644
--- a/htroot/ProxyIndexingMonitor_p.java
+++ b/htroot/ProxyIndexingMonitor_p.java
@@ -90,7 +90,7 @@ public class ProxyIndexingMonitor_p {
// proxyCache - check and create the directory
oldProxyCache = env.getConfig("proxyCache", "DATA/HTCACHE");
newProxyCache = ((String) post.get("proxyCache", "DATA/HTCACHE"));
- newProxyCache = newProxyCache.replace("\\", "/");
+ newProxyCache = newProxyCache.replace('\\', '/');
if (newProxyCache.endsWith("/")) newProxyCache.substring(0, newProxyCache.length() - 1);
File cp = new File(newProxyCache);
if ((!cp.isDirectory()) && (!cp.isFile())) cp.mkdirs();