commit 196353b: [Minor] Add content type to MIME_BAD_ATTACHMET symbol
Vsevolod Stakhov
vsevolod at highsecure.ru
Thu Sep 9 14:56:04 UTC 2021
Author: Vsevolod Stakhov
Date: 2021-09-09 15:52:25 +0100
URL: https://github.com/rspamd/rspamd/commit/196353b297af477034e0e313acbea50b33dc98e2 (HEAD -> master)
[Minor] Add content type to MIME_BAD_ATTACHMET symbol
---
src/plugins/lua/mime_types.lua | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/plugins/lua/mime_types.lua b/src/plugins/lua/mime_types.lua
index 2e5dee967..fd1c7e2d5 100644
--- a/src/plugins/lua/mime_types.lua
+++ b/src/plugins/lua/mime_types.lua
@@ -380,7 +380,8 @@ local function check_mime_type(task)
end
if not found then
- task:insert_result(settings['symbol_attachment'], mult, ext)
+ task:insert_result(settings['symbol_attachment'], mult, string.format('%s:%s',
+ ext, ct))
end
end
end
More information about the Commits
mailing list