Skip to content

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

bugfix for http://www.yacy-forum.de/viewtopic.php?t=1706

borg-03003a2d13786eef
diff --git a/source/de/anomic/plasma/plasmaHTCache.java b/source/de/anomic/plasma/plasmaHTCache.java
index b1694d982..16c66a68f 100644
--- a/source/de/anomic/plasma/plasmaHTCache.java
+++ b/source/de/anomic/plasma/plasmaHTCache.java
@@ -531,7 +531,7 @@ public final class plasmaHTCache {
matcher.reset(remotePath);
}
- remotePath = remotePath.replaceAll("[?&:!]", "_"); // yes this is not reversible, but that is not needed
+ remotePath = remotePath.replaceAll("[\"\\/:*?<>|]", "_"); // yes this is not reversible, but that is not needed
// only set NO default ports
int port = url.getPort();