From e30556bc257370cfef90f98ec1ed0b9ad32ef46d Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Sun, 28 Sep 2025 21:20:56 +0100 Subject: [PATCH] [Minor] Fix compatibility --- lualib/rspamadm/secretbox.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lualib/rspamadm/secretbox.lua b/lualib/rspamadm/secretbox.lua index 3da9ea3b4c..651fc68591 100644 --- a/lualib/rspamadm/secretbox.lua +++ b/lualib/rspamadm/secretbox.lua @@ -210,7 +210,8 @@ local function decryption_handler(args) end if plaintext ~= nil then - write_output(args, tostring(plaintext)) + -- Plaintext must be printed as-is to preserve legacy semantics + print(tostring(plaintext)) else print('The decryption failed. Please check the correctness of the arguments given.') end -- 2.47.3