Distributed Peer-to-Peer Web Search Engine and Intranet Search Appliance
Java decentralizedintranet-searchintranet-search-enginep2pp2p-networkprivacyprivacy-protectionsearch-enginesearchenginewebweb-search-enginewebsearchwebseearch-engine
*) fixed broken link problem in profile. see http://www.yacy-forum.de/viewtopic.php?t=964 for details
low012cc26779aebc4
diff --git a/htroot/ViewProfile.java b/htroot/ViewProfile.javaindex af0685ca6..f0166c9f2 100644--- a/htroot/ViewProfile.java+++ b/htroot/ViewProfile.java@@ -116,7 +116,17 @@ public class ViewProfile {while (i.hasNext()) {entry = (Map.Entry) i.next();String key=(String)entry.getKey();- String value=wikiTransformer.transform( ((String)entry.getValue()).replaceAll("\r","").replaceAll("\\\\n","\n") );+ String value=new String();++ //only comments get "wikified"+ //this prevents broken links+ if(key.equals("comment")){+ value=wikiTransformer.transform( ((String)entry.getValue()).replaceAll("\r","").replaceAll("\\\\n","\n") );+ }+ else{+ value=((String)entry.getValue()).replaceAll("\r","").replaceAll("\\\\n","\n");+ }+//all known Keys which should be set as they areif(knownKeys.contains(key)){prop.put("success_"+key, 1);