diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2019-10-23 17:03:19 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2019-10-23 17:03:19 +0100 |
commit | 052ccc761e2e9000ed11fcdd121585da77256bf6 (patch) | |
tree | e89343bddf0452314bbeab89cf70c05430f18d81 /lualib/lua_magic/init.lua | |
parent | 85fc3e7a7a34c58e389cac92ea7101e4b71cce37 (diff) | |
download | rspamd-052ccc761e2e9000ed11fcdd121585da77256bf6.tar.gz rspamd-052ccc761e2e9000ed11fcdd121585da77256bf6.zip |
[Feature] Support uuencoding
Diffstat (limited to 'lualib/lua_magic/init.lua')
-rw-r--r-- | lualib/lua_magic/init.lua | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lualib/lua_magic/init.lua b/lualib/lua_magic/init.lua index d87e40d58..2bfc067e3 100644 --- a/lualib/lua_magic/init.lua +++ b/lualib/lua_magic/init.lua @@ -228,6 +228,8 @@ local function match_chunk(chunk, input, tlen, offset, trie, processed_tbl, log_ for _,position in ipairs(match.positions) do local matched = false for _,pos in ipairs(matched_positions) do + lua_util.debugm(N, log_obj, 'found match %s at offset %s(from %s)', + pattern.ext, pos, offset) if not match_position(pos + offset, position) then matched = true break |