Class HtmlSanitizerListener
java.lang.Object
org.nuxeo.ecm.platform.htmlsanitizer.HtmlSanitizerListener
- All Implemented Interfaces:
EventListener
Listener that sanitizes some HTML fields to remove potential cross-site scripting attacks in them.
-
Field Summary
-
Constructor Summary
-
Method Summary
-
Field Details
-
DISABLE_HTMLSANITIZER_LISTENER
- See Also:
-
-
Constructor Details
-
HtmlSanitizerListener
public HtmlSanitizerListener()
-
-
Method Details
-
handleEvent
Description copied from interface:EventListener
Handle the given event. The listener can cancel the event by callingEvent.cancel()
- Specified by:
handleEvent
in interfaceEventListener
- Parameters:
event
- the event
-