diff options
author | Vsevolod Stakhov <vsevolod@rspamd.com> | 2024-12-21 21:14:05 +0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-12-21 21:14:05 +0600 |
commit | fd7b5398b27ac0c52ba0f698a5a74550c6bdcbdb (patch) | |
tree | 9bb1ee5a4b6edcfc1f8436a1714682ab6967453c | |
parent | bc674074a56e77061c3d97d12c2784e0b8d96231 (diff) | |
parent | 1c20c23d981caf8b424f681f8c2df68a67256c43 (diff) | |
download | rspamd-fd7b5398b27ac0c52ba0f698a5a74550c6bdcbdb.tar.gz rspamd-fd7b5398b27ac0c52ba0f698a5a74550c6bdcbdb.zip |
[Fix] connIp is not correctly added to request
-rw-r--r-- | lualib/lua_scanners/cloudmark.lua | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lualib/lua_scanners/cloudmark.lua b/lualib/lua_scanners/cloudmark.lua index cb55a3bbf..ccb45b047 100644 --- a/lualib/lua_scanners/cloudmark.lua +++ b/lualib/lua_scanners/cloudmark.lua @@ -345,7 +345,9 @@ local function cloudmark_check(task, content, digest, rule, maybe_part) local fip = task:get_from_ip() if fip and fip:is_valid() then - request['connIp'] = tostring(fip) + request['connIp'] = { + data = tostring(fip) + } end local hostname = task:get_hostname() |