commit af4de3e: [Minor] Lua_mime: Quote charser
Vsevolod Stakhov
vsevolod at highsecure.ru
Thu Oct 29 13:14:06 UTC 2020
Author: Vsevolod Stakhov
Date: 2020-10-29 13:09:33 +0000
URL: https://github.com/rspamd/rspamd/commit/af4de3e677345dcdd7bda3a7a45834581a5970e6 (HEAD -> master)
[Minor] Lua_mime: Quote charser
---
lualib/lua_mime.lua | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lualib/lua_mime.lua b/lualib/lua_mime.lua
index e116f897b..f01f4003a 100644
--- a/lualib/lua_mime.lua
+++ b/lualib/lua_mime.lua
@@ -298,7 +298,7 @@ local function do_replacement (task, part, mp, replacements,
end
if is_multipart then
- out[#out + 1] = {string.format('Content-Type: %s; charset=utf-8%s'..
+ out[#out + 1] = {string.format('Content-Type: %s; charset="utf-8"%s'..
'Content-Transfer-Encoding: %s',
ct, newline_s, cte), true}
out[#out + 1] = {'', true}
More information about the Commits
mailing list