From af4de3e677345dcdd7bda3a7a45834581a5970e6 Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Thu, 29 Oct 2020 13:09:33 +0000 Subject: [PATCH] [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} -- 2.39.5