Skip to content

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

*) prevent XSS when importing blacklist

low012444575e33d5b
diff --git a/htroot/sharedBlacklist_p.java b/htroot/sharedBlacklist_p.java
index 007520887..62a85ef27 100644
--- a/htroot/sharedBlacklist_p.java
+++ b/htroot/sharedBlacklist_p.java
@@ -231,7 +231,7 @@ public class sharedBlacklist_p {
if( !Blacklist.contains(tmp) && (!tmp.equals("")) ){
//newBlacklist.add(tmp);
prop.put("page_urllist_" + count + "_dark", count % 2 == 0 ? "0" : "1");
- prop.put("page_urllist_" + count + "_url", tmp);
+ prop.putHTML("page_urllist_" + count + "_url", tmp);
prop.put("page_urllist_" + count + "_count", count);
count++;
}