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

Preview of big text file generates error in the logs

    XMLWordPrintable

    Details

    • Type: Clean up
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 7.4
    • Component/s: Preview

      Description

      1. Create a File document with a main attached file larger than 100 KB and of type text/plain
      2. Select the Preview action (top-right menu inside More)

      The following ERROR is generated in server log server.log:

      14:03:14,432 ERROR [HtmlSanitizerServiceImpl] Cannot sanitize : org.owasp.validator.html.ScanException: The input was too large. The specified input was 845,760 bytes and the maximum is 100,000 bytes.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: