Permalink
Browse files

Escaped HTML eventually active content from recorded API call comments.

  • Loading branch information...
luccioman committed Apr 3, 2017
1 parent 09e72eb commit 0feded21dd32a65fc4f3a19d0b2db3382499d85f
Showing with 1 addition and 1 deletion.
  1. +1 −1 htroot/Table_API_p.java
@@ -287,7 +287,7 @@ public static serverObjects respond(@SuppressWarnings("unused") final RequestHea
prop.put("showtable_list_" + count + "_dateLastExec", date_last_exec == null ? "-" : GenericFormatter.FORMAT_SIMPLE.format(date_last_exec));
prop.put("showtable_list_" + count + "_dateNextExec", date_next_exec == null ? "-" : GenericFormatter.FORMAT_SIMPLE.format(date_next_exec));
prop.put("showtable_list_" + count + "_type", row.get(WorkTables.TABLE_API_COL_TYPE));
prop.put("showtable_list_" + count + "_comment", row.get(WorkTables.TABLE_API_COL_COMMENT));
prop.putHTML("showtable_list_" + count + "_comment", row.get(WorkTables.TABLE_API_COL_COMMENT));
// check type & action to link crawl start URLs back to CrawlStartExpert.html
if (prop.get("showtable_list_" + count + "_type", "").equals(WorkTables.TABLE_API_TYPE_CRAWLER)
&& prop.get("showtable_list_" + count + "_comment", "").startsWith("crawl start for")) {

0 comments on commit 0feded2

Please sign in to comment.