Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-11300

Missing W3C CSS SAC dependency for AntiSamy

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 5.7-SNAPSHOT
    • Fix Version/s: 5.7.1

      Description

      When editing a note:

      15:45:13,309 ERROR [EventServiceImpl] Error during htmlsanitizerlistener sync listener execution, transaction won't be rolled back since event.markRollBack() was not called by the Listener
      java.lang.NoClassDefFoundError: org/w3c/css/sac/DocumentHandler
      at org.owasp.validator.html.scan.AntiSamyDOMScanner.recursiveValidateTag(AntiSamyDOMScanner.java:564)
      at org.owasp.validator.html.scan.AntiSamyDOMScanner.recursiveValidateTag(AntiSamyDOMScanner.java:738)
      at org.owasp.validator.html.scan.AntiSamyDOMScanner.scan(AntiSamyDOMScanner.java:153)
      at org.owasp.validator.html.AntiSamy.scan(AntiSamy.java:107)
      at org.nuxeo.ecm.platform.htmlsanitizer.HtmlSanitizerServiceImpl.sanitizeString(HtmlSanitizerServiceImpl.java:244)
      at org.nuxeo.ecm.platform.htmlsanitizer.HtmlSanitizerServiceImpl.sanitizeDocument(HtmlSanitizerServiceImpl.java:229)
      at org.nuxeo.ecm.platform.htmlsanitizer.HtmlSanitizerListener.handleEvent(HtmlSanitizerListener.java:55)
      at org.nuxeo.ecm.core.event.impl.EventServiceImpl.fireEvent(EventServiceImpl.java:215)
      

      This library (sac-1.3) used to be provided by selenium-server-standalone.

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: