Distributed Peer-to-Peer Web Search Engine and Intranet Search Appliance
Java decentralizedintranet-searchintranet-search-enginep2pp2p-networkprivacyprivacy-protectionsearch-enginesearchenginewebweb-search-enginewebsearchwebseearch-engine
fix for bad String conversion
Michael Peter Christena2f800cd8f09
diff --git a/htroot/IndexDeletion_p.java b/htroot/IndexDeletion_p.javaindex 073856e30..6afb16118 100644--- a/htroot/IndexDeletion_p.java+++ b/htroot/IndexDeletion_p.java@@ -58,7 +58,7 @@ public class IndexDeletion_p {// Delete by URL MatchingString urldelete = post == null ? "" : post.get("urldelete", "");boolean urldelete_mm_subpath_checked = post == null ? true : post.get("urldelete-mm", "subpath").equals("subpath");- prop.put("urldelete", urldelete);+ prop.putHTML("urldelete", urldelete);prop.put("urldelete-mm-subpath-checked", urldelete_mm_subpath_checked ? 1 : 0);prop.put("urldelete-mm-regexp-checked", urldelete_mm_subpath_checked ? 0 : 1);prop.put("urldelete-active", 0);@@ -102,7 +102,7 @@ public class IndexDeletion_p {}prop.put("collectiondelete-mode-unassigned-checked", collectiondelete_mode_unassigned_checked ? 1 : 0);prop.put("collectiondelete-mode-assigned-checked", collectiondelete_mode_unassigned_checked ? 0 : 1);- prop.put("collectiondelete-select_collectiondelete", collectiondelete);+ prop.putHTML("collectiondelete-select_collectiondelete", collectiondelete);prop.put("collectiondelete-active", 0);// Delete by Solr Query@@ -110,7 +110,7 @@ public class IndexDeletion_p {String querydelete = post == null ? "" : post.get("querydelete", "");// simulate default search field if no field is given by adding text_t: as target fieldif (!querydelete.isEmpty() && !querydelete.contains(":")) querydelete = CollectionSchema.text_t.getSolrFieldName() + ":" + querydelete;- prop.put("querydelete", querydelete);+ prop.putHTML("querydelete", querydelete);prop.put("querydelete-active", 0);