From 8c007e28cf12714b594d8c9ee41175acf0b8c923 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rapha=C3=ABl=20Vinot?= Date: Fri, 16 Jun 2017 14:45:44 +0200 Subject: [PATCH] Add support for XFA structure un PDF Partial fix for PCL-01-002 --- bin/filecheck.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/bin/filecheck.py b/bin/filecheck.py index 19cb93f..ebd47ac 100644 --- a/bin/filecheck.py +++ b/bin/filecheck.py @@ -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')