Skip to content
Snippets Groups Projects
  1. Aug 01, 2022
  2. Apr 13, 2022
  3. Apr 11, 2022
  4. Feb 10, 2022
    • Reiter, Christoph's avatar
      getPDFSignatureCount: fix "too much recursion" error with some PDFs · 9b8b6ac6
      Reiter, Christoph authored
      The regex used to detect signatures uses "(.|\\s)" to emulate dotall, since
      old browsers don't support it.
      
      For some reason that leads to internal errors in Firefox with larger files in some cases.
      
      Replacing it with a simpler "[\\s\\S]" class makes things work.
      
      Also adds some tests with real PDF files, "QPDF-367-0.pdf" was triggering this issue.
      
      Fixes #46
      9b8b6ac6
  5. Feb 03, 2022
  6. Nov 19, 2020
  7. Mar 17, 2020
Loading