aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2016-12-21 12:02:45 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2016-12-21 12:02:45 +0000
commitf41e30b785e5d35bf11c71ed3346095eacb797b4 (patch)
tree1d333e46f42c26825cb2673c9dcea1cf88d03985 /test
parentc220a5f224447b6707e7fdab042f51629efcc7ba (diff)
downloadrspamd-f41e30b785e5d35bf11c71ed3346095eacb797b4.tar.gz
rspamd-f41e30b785e5d35bf11c71ed3346095eacb797b4.zip
[Fix] Fix parsing of '=' character in headers
Diffstat (limited to 'test')
-rw-r--r--test/lua/unit/rfc2047.lua2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/lua/unit/rfc2047.lua b/test/lua/unit/rfc2047.lua
index 9ddab000c..80c90437c 100644
--- a/test/lua/unit/rfc2047.lua
+++ b/test/lua/unit/rfc2047.lua
@@ -41,6 +41,8 @@ context("RFC2047 decoding", function()
=?windows-1251?Q?=E0=EA=F2=E5=F0=E8=E7=EE=E2=E0=F2=FC=F1?=
=?windows-1251?Q?=FF_=E7=EE=F0=EA=E8=EC_=E7=F0=E5=ED=E8?=
=?windows-1251?Q?=E5=EC?=]], "Вы сможете характеризоваться зорким зрением"},
+ {'v=1; a=rsa-sha256; c=relaxed/relaxed; d=yoni.za.org; s=testdkim1;',
+ 'v=1; a=rsa-sha256; c=relaxed/relaxed; d=yoni.za.org; s=testdkim1;'},
}
local pool = ffi.C.rspamd_mempool_new(4096, "lua")