From: Vsevolod Stakhov Date: Thu, 29 Oct 2020 13:09:33 +0000 (+0000) Subject: [Minor] Lua_mime: Quote charser X-Git-Tag: 2.7~186 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=af4de3e677345dcdd7bda3a7a45834581a5970e6;p=rspamd.git [Minor] Lua_mime: Quote charser --- 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}