commit 1d7cc87: fixup! arc.lua: fix signature of ARC-Seal header

Jan Smutny js at excello.cz
Sat Apr 15 06:56:06 UTC 2023


Author: Jan Smutny
Date: 2023-03-31 16:21:20 +0200
URL: https://github.com/rspamd/rspamd/commit/1d7cc87fe2eb9bcb833faef7dc814fcf3315eec3 (refs/pull/4449/head)

fixup! arc.lua: fix signature of ARC-Seal header

---
 src/plugins/lua/arc.lua | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/plugins/lua/arc.lua b/src/plugins/lua/arc.lua
index 4fdd4fe9f..697c38b48 100644
--- a/src/plugins/lua/arc.lua
+++ b/src/plugins/lua/arc.lua
@@ -530,6 +530,8 @@ local function arc_sign_seal(task, params, header)
   local cur_idx = 1
   if arc_seals then
     cur_idx = #arc_seals + 1
+    -- We use the cached version per each ARC-* header field individually, already sorted by instance
+    -- value in ascending order
     for i = 1, #arc_seals, 1 do
       if arc_auth_results[i] then
         local s = dkim_canonicalize('ARC-Authentication-Results',


More information about the Commits mailing list