[ 
https://issues.apache.org/jira/browse/PDFBOX-1754?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Tilman Hausherr updated PDFBOX-1754:
------------------------------------
    Attachment: 006654.pdf

Some of these (e.g. "Service Form_media.pdf") are already reported indirectly - 
the javascript is in an AA subtree, which is not allowed. However here's one 
file (006654.pdf from PDFBOX-2486) that has a document level javascript which 
isn't handled so I'll keep this issue open.

>  Preflight doesn't detect JavaScript for some PDFs
> --------------------------------------------------
>
>                 Key: PDFBOX-1754
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-1754
>             Project: PDFBox
>          Issue Type: Bug
>          Components: Preflight
>    Affects Versions: 2.0.0
>         Environment: Win 7
>            Reporter: Johan van der Knijff
>            Priority: Minor
>              Labels: javascript
>             Fix For: 2.0.0
>
>         Attachments: 006654.pdf
>
>
> I just did another round of testing with the Adobe Acrobat Engineering PDFs 
> (using revision 1530740 of Preflight). Some of these files contain 
> JavaScript, but this is not picked up by Preflight. Three examples:
> http://acroeng.adobe.com/Test_Files/classic_multimedia//Disney-Flash.pdf
> http://acroeng.adobe.com/Test_Files/classic_multimedia//Service%20Form_media.pdf
> http://acroeng.adobe.com/Test_Files/classic_multimedia//Trophy.pdf 
> Both Adobe Acrobat's Preflight component and an additional check with a Hex 
> editor confirm that these files do actually contain JavaScript.
> PS: great to see the improvements in the latest version of Preflight! 
> PPS: the full results for all the files in my test dataset are here, just in 
> case anyone finds this useful:
> http://wiki.opf-labs.org/display/TR/Analysis+of+Acrobat+Engineering+PDFs+with+Acrobat+Preflight+and+Apache+Preflight
> Cheers,
> Johan



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to