Distributed Peer-to-Peer Web Search Engine and Intranet Search Appliance
Java decentralizedintranet-searchintranet-search-enginep2pp2p-networkprivacyprivacy-protectionsearch-enginesearchenginewebweb-search-enginewebsearchwebseearch-engine
Properly render json string attributes in the crawl profile html editor
lucciomanb159564c72f2
diff --git a/htroot/CrawlProfileEditor_p.java b/htroot/CrawlProfileEditor_p.javaindex 1e7462f87..4ca089ad2 100644--- a/htroot/CrawlProfileEditor_p.java+++ b/htroot/CrawlProfileEditor_p.java@@ -42,8 +42,7 @@ public class CrawlProfileEditor_p {private final static String CRAWL_PROFILE_PREFIX = "crawlProfiles_";private static final String EDIT_ENTRIES_PREFIX = "edit_entries_";- public static serverObjects respond(- @SuppressWarnings("unused") final RequestHeader header,+ public static serverObjects respond(final RequestHeader header,final serverObjects post,final serverSwitch env) {final servletProperties prop = new servletProperties();@@ -160,7 +159,7 @@ public class CrawlProfileEditor_p {prop.put(EDIT_ENTRIES_PREFIX + count + "_readonly_type_checked",val == null ? "0" : Boolean.parseBoolean(val) ? "1" : "0");} else {- prop.put(EDIT_ENTRIES_PREFIX + count + "_readonly_type_value", val == null ? "" : val);+ prop.put(header.fileType(), EDIT_ENTRIES_PREFIX + count + "_readonly_type_value", val == null ? "" : val);}count++;}