Skip to content

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

http://www.yacy-forum.de/viewtopic.php?p=3368 fixed: Newlines are now converted correctly.

allo6af3744a0bda
diff --git a/htroot/ViewProfile.java b/htroot/ViewProfile.java
index 1b7aadfb0..17070bfa0 100644
--- a/htroot/ViewProfile.java
+++ b/htroot/ViewProfile.java
@@ -104,7 +104,7 @@ public class ViewProfile {
while (i.hasNext()) {
entry = (Map.Entry) i.next();
String key=(String)entry.getKey();
- String value=(String)entry.getValue();
+ String value=((String)entry.getValue()).replaceAll("\r","").replaceAll("\\\\n","\n");
//all known Keys which should be set as they are
if(knownKeys.contains(key)){
prop.put("success_"+key, 1);