瀏覽代碼

[Minor] Fix legacy string values in modify headers routine

Issue: #4246
tags/3.3
Vsevolod Stakhov 1 年之前
父節點
當前提交
e2d81fa602
沒有連結到貢獻者的電子郵件帳戶。
共有 1 個檔案被更改,包括 2 行新增0 行删除
  1. 2
    0
      lualib/lua_mime.lua

+ 2
- 0
lualib/lua_mime.lua 查看文件

@@ -532,6 +532,8 @@ exports.modify_headers = function(task, hdr_alterations)
for _,v in ipairs(hdr) do
table.insert(add_tbl, {-1, v})
end
elseif type(hdr) == 'string' then
table.insert(add_tbl, {-1, hdr})
end
end
if hdr_alterations.order then

Loading…
取消
儲存