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 2014/12/05 20:18:12 UTC

[jira] [Resolved] (PDFBOX-1754) Preflight doesn't detect JavaScript for some PDFs

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

Tilman Hausherr resolved PDFBOX-1754.
-------------------------------------
    Resolution: Fixed
      Assignee: Tilman Hausherr

I've used "6.2.1 : Action is forbidden, Javascript entry is present in the Names dictionary", I hope 6.2.1 is the correct one.

Technically, this /javascript name tree is irrelevant, I couldn't find any place where the names are used. However pdf-tools reports it, thus I made this change.

[~johanvanderknijff] this resolves your issue; if not, please reopen and attach a file that has Javascript and isn't reported.

>  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
>            Assignee: Tilman Hausherr
>            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
> Edit from [~tilman], the other useful link to your work is
> http://openpreservation.org/knowledge/blogs/2013/07/25/identification-pdf-preservation-risks-sequel/



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