Class HtmlSanitizerListener
- java.lang.Object
- 
- org.nuxeo.ecm.platform.htmlsanitizer.HtmlSanitizerListener
 
- 
- All Implemented Interfaces:
- EventListener
 
 public class HtmlSanitizerListener extends Object implements EventListener Listener that sanitizes some HTML fields to remove potential cross-site scripting attacks in them.
- 
- 
Field SummaryFields Modifier and Type Field Description static StringDISABLE_HTMLSANITIZER_LISTENER
 - 
Constructor SummaryConstructors Constructor Description HtmlSanitizerListener()
 
- 
- 
- 
Field Detail- 
DISABLE_HTMLSANITIZER_LISTENERpublic static final String DISABLE_HTMLSANITIZER_LISTENER - See Also:
- Constant Field Values
 
 
- 
 - 
Method Detail- 
handleEventpublic void handleEvent(Event event) Description copied from interface:EventListenerHandle the given event. The listener can cancel the event by callingEvent.cancel()- Specified by:
- handleEventin interface- EventListener
- Parameters:
- event- the event
 
 
- 
 
-