summaryrefslogtreecommitdiffstats
path: root/lualib/lua_mime.lua
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2020-10-29 13:09:33 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2020-10-29 13:09:33 +0000
commitaf4de3e677345dcdd7bda3a7a45834581a5970e6 (patch)
treee7fbd13a674294e67decabb17a368c7c2f293e9c /lualib/lua_mime.lua
parent3ff8bea634eed1d595e0ec5b243b33fda2e63150 (diff)
downloadrspamd-af4de3e677345dcdd7bda3a7a45834581a5970e6.tar.gz
rspamd-af4de3e677345dcdd7bda3a7a45834581a5970e6.zip
[Minor] Lua_mime: Quote charser
Diffstat (limited to 'lualib/lua_mime.lua')
-rw-r--r--lualib/lua_mime.lua2
1 files changed, 1 insertions, 1 deletions
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}