From 129652075c3615ffb8191a83150cbd4157dc1878 Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Mon, 12 Oct 2020 17:10:20 +0100 Subject: [PATCH] [Minor] Exclude '@' from quote character --- lualib/lua_util.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lualib/lua_util.lua b/lualib/lua_util.lua index a7a0e69383..c4448117cc 100644 --- a/lualib/lua_util.lua +++ b/lualib/lua_util.lua @@ -1437,7 +1437,7 @@ end -- @param {string} str input string -- @return {string} original or quoted string --]]] -local tspecial = lpeg.S"()<>@,;:\\\"/[]?= \t\v" +local tspecial = lpeg.S"()<>,;:\\\"/[]?= \t\v" local special_match = lpeg.P((1 - tspecial)^0 * tspecial^1) exports.maybe_smtp_quote_value = function(str) if special_match:match(str) then -- 2.47.3