commit b9beb4c: [Fix] multimap: rawtext: use decoded parts
Andrew Lewis
nerf at judo.za.org
Mon Jul 29 17:51:31 UTC 2024
Author: Andrew Lewis
Date: 2024-01-19 09:40:51 +0200
URL: https://github.com/rspamd/rspamd/commit/b9beb4ce7e551f3eb2811eaf0593455e0cbdc029 (refs/pull/4781/head)
[Fix] multimap: rawtext: use decoded parts
---
src/plugins/lua/multimap.lua | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/plugins/lua/multimap.lua b/src/plugins/lua/multimap.lua
index b48f7bdff..53b273227 100644
--- a/src/plugins/lua/multimap.lua
+++ b/src/plugins/lua/multimap.lua
@@ -460,7 +460,7 @@ local function apply_content_filter(task, filter)
elseif filter == 'rawtext' then
local ret = {}
for _, p in ipairs(task:get_text_parts()) do
- table.insert(ret, p:get_raw_content())
+ table.insert(ret, p:get_content('raw_parsed'))
end
return ret
elseif filter == 'oneline' then
More information about the Commits
mailing list