Hi all,

I have an error when I try to import a workspace with Nuxeo Shell (see logs 
below)

I understand the error message (input too large) but I don't know :
- how to configure the maximum size
- what is the best value for maximum size (perhaps > X bytes is dangerous)


Thanks for your help



2010-04-14 10:59:22,041 ERROR 
[org.nuxeo.ecm.platform.htmlsanitizer.HtmlSanitizerServiceImpl] Cannot sanitize
org.owasp.validator.html.ScanException: The input was too large. The specified 
input was 21,880 bytes and the maximum is 15,000 bytes.
        at 
org.owasp.validator.html.scan.AntiSamyDOMScanner.scan(AntiSamyDOMScanner.java:123)
        at org.owasp.validator.html.AntiSamy.scan(AntiSamy.java:89)
        at 
org.nuxeo.ecm.platform.htmlsanitizer.HtmlSanitizerServiceImpl.sanitizeString(HtmlSanitizerServiceImpl.java:229)
        at 
org.nuxeo.ecm.platform.htmlsanitizer.HtmlSanitizerServiceImpl.sanitizeDocument(HtmlSanitizerServiceImpl.java:215)
        at 
org.nuxeo.ecm.platform.htmlsanitizer.HtmlSanitizerListener.handleEvent(HtmlSanitizerListener.java:55)
        at 
org.nuxeo.ecm.core.event.impl.EventServiceImpl.fireEvent(EventServiceImpl.java:144)
        at 
org.nuxeo.ecm.core.api.AbstractSession.fireEvent(AbstractSession.java:358)
        at 
org.nuxeo.ecm.core.api.AbstractSession.notifyEvent(AbstractSession.java:410)
        at 
org.nuxeo.ecm.core.api.AbstractSession.createDocument(AbstractSession.java:792)
        at 
org.nuxeo.ecm.core.api.ejb.DocumentManagerBean.createDocument(DocumentManagerBean.java:261)
        at sun.reflect.GeneratedMethodAccessor237.invoke(Unknown Source)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
--
Posted by "sebastien.denef" at Nuxeo Discussions <http://nuxeo.org/discussions>
View the complete thread: 
<http://www.nuxeo.org/discussions/thread.jspa?threadID=3524#10785>
_______________________________________________
ECM mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm
To unsubscribe, go to http://lists.nuxeo.com/mailman/options/ecm

Reply via email to