Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-20881

Don't enforce the size limit on single page PDF exports

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Fixed
    • Major
    • 15.5.1, 14.10.15, 15.6
    • 14.10.8
    • Export - PDF
    • None
    • Unit
    • Unknown

    Description

      We implemented XWIKI-20264 mainly as a protection against large multi-page PDF exports (until we fix XWIKI-20377). It shouldn't be necessary to enforce this limit for single-page exports because the export size is computed based on the rendered HTML which means for a single page we already have its XDOM in memory so the size limit doesn't really prevent OOM attacks. Thanks MichaelHamann for the suggestion.

      Attachments

        Issue Links

          Activity

            People

              mflorea Marius Dumitru Florea
              mflorea Marius Dumitru Florea
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: