You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "Tilman Hausherr (Jira)" <ji...@apache.org> on 2020/10/03 09:46:00 UTC

[jira] [Commented] (PDFBOX-4976) OperatorException Strict Mode

    [ https://issues.apache.org/jira/browse/PDFBOX-4976?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17206661#comment-17206661 ] 

Tilman Hausherr commented on PDFBOX-4976:
-----------------------------------------

I don't see how this is useful, there are many flaws that we swallow, not just this one.

> OperatorException Strict Mode
> -----------------------------
>
>                 Key: PDFBOX-4976
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-4976
>             Project: PDFBox
>          Issue Type: Improvement
>          Components: Rendering
>            Reporter: James Maguire
>            Priority: Minor
>         Attachments: Strict_operatorException_mode_configurable_via_system_property.patch
>
>
> When utilizing PDFBox in a security strict environment it can be useful to enforce a stricter parsing mode. While this is not appropriate in all contexts for some use cases - e.g. watermarked PDFs it is essential that the PDF is rendered without errors.
>  
> This patch offers the ability to configure a system property which will always throw an exception when an operatorException is triggered
> Patch attached



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@pdfbox.apache.org
For additional commands, e-mail: dev-help@pdfbox.apache.org