commit 6c190eb: [Minor] Restore scripts flag

Vsevolod Stakhov vsevolod at highsecure.ru
Tue Aug 18 11:28:06 UTC 2020


Author: Vsevolod Stakhov
Date: 2020-08-18 12:21:46 +0100
URL: https://github.com/rspamd/rspamd/commit/6c190eb0fe515b006ede2fd33283f15ccb2ba3cc

[Minor] Restore scripts flag

---
 lualib/lua_content/pdf.lua | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/lualib/lua_content/pdf.lua b/lualib/lua_content/pdf.lua
index 53b980f1a..141a07a5f 100644
--- a/lualib/lua_content/pdf.lua
+++ b/lualib/lua_content/pdf.lua
@@ -1271,6 +1271,9 @@ local function process_pdf(input, mpart, task)
     if pdf_object.encrypted then
       pdf_output.encrypted = true
     end
+    if pdf_object.scripts then
+      pdf_output.scripts = true
+    end
 
     return pdf_output
   end


More information about the Commits mailing list