Add support for XFA structure un PDF

Partial fix for PCL-01-002
pull/17/merge
Raphaël Vinot 2017-06-16 14:45:44 +02:00
parent e276f33c29
commit 8c007e28cf
1 changed files with 2 additions and 0 deletions

View File

@ -370,6 +370,8 @@ class File(FileBase):
self.make_dangerous('Pdf containing flash')
if oPDFiD.launch.count > 0:
self.make_dangerous('Pdf with launch action(s)')
if oPDFiD.xfa.count > 0:
self.make_dangerous('Pdf with XFA structures')
if not self.is_dangerous:
self.add_description('Pdf file')