]> git.ipfire.org Git - thirdparty/rspamd.git/commitdiff
[Minor] Fix compatibility 5642/head
authorVsevolod Stakhov <vsevolod@rspamd.com>
Sun, 28 Sep 2025 20:20:56 +0000 (21:20 +0100)
committerVsevolod Stakhov <vsevolod@rspamd.com>
Sun, 28 Sep 2025 20:20:56 +0000 (21:20 +0100)
lualib/rspamadm/secretbox.lua

index 3da9ea3b4c12620b4013608fa25e87abad046ada..651fc68591fac06eff46d00281dcb40c28b0b45f 100644 (file)
@@ -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