]> git.ipfire.org Git - thirdparty/rspamd.git/commitdiff
[Fix] connIP is not correctly added to request 5268/head
authorCor Bosman <cor@xs4all.net>
Fri, 20 Dec 2024 22:45:52 +0000 (23:45 +0100)
committerCor Bosman <cor@xs4all.net>
Fri, 20 Dec 2024 22:45:52 +0000 (23:45 +0100)
lualib/lua_scanners/cloudmark.lua

index cb55a3bbfbacf10e3589cbc35b62c6ef1e870ace..ccb45b0471649a5e1c7299efd15006fa67f09e6b 100644 (file)
@@ -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()