Enable HTML Sanitizer logging

When the HTML sanitizer removes elements or attributes, they are added to the system log.

About this task

You can review these sanitized elements by adding /syslog_list.do?sysparm_query=source%3DHTMLSanitizer to your instance URL.

Procedure

  1. To review these sanitized elements add /syslog_list.do?sysparm_query=source%3DHTMLSanitizer to your instance URL.
  2. To enable or disable logging, add the glide.html_sanitize.discarded_log.enable property to the system properties and set the value to true (enabled) or false (disabled). This property is true by default.

Result