commit 36b30a1: [Minor] Lua_content: Fix objects regexp...
Vsevolod Stakhov
vsevolod at highsecure.ru
Tue Jan 21 11:00:07 UTC 2020
Author: Vsevolod Stakhov
Date: 2020-01-21 09:43:59 +0000
URL: https://github.com/rspamd/rspamd/commit/36b30a19c4f3aae9e7ebd9ec0da86d2c6120d18e
[Minor] Lua_content: Fix objects regexp...
---
lualib/lua_content/pdf.lua | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lualib/lua_content/pdf.lua b/lualib/lua_content/pdf.lua
index 6ede52c76..4c6039d06 100644
--- a/lualib/lua_content/pdf.lua
+++ b/lualib/lua_content/pdf.lua
@@ -44,7 +44,7 @@ local pdf_patterns = {
},
start_object = {
patterns = {
- [=[[\r\n\0]\s*\d+\s+\d+\s+obj[\r\n]]=]
+ [=[[\r\n\0]\s*\d+\s+\d+\s+obj[\r\n<]]=]
}
},
end_object = {
More information about the Commits
mailing list