org.nuxeo.ecm.platform.htmlsanitizer
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.
HtmlSanitizerListener
public HtmlSanitizerListener()
handleEvent
public void handleEvent(Event event)
throws ClientException
- Description copied from interface:
EventListener
- Handle the given event. The listener can cancel the event by calling
Event.cancel()
- Specified by:
handleEvent
in interface EventListener
- Parameters:
event
- the event
- Throws:
ClientException
Copyright © 2011 Nuxeo SAS. All Rights Reserved.