summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2016-12-21 15:26:29 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2016-12-21 15:26:59 +0000
commita4793bf27353ba89087430bb52fb4308ff168f22 (patch)
tree0cdc1eb78a4968bb6382f1dab1e57424bfe4916a /test
parent066e21615a70a2317c1a0f9747ba090af0b7e1ea (diff)
downloadrspamd-a4793bf27353ba89087430bb52fb4308ff168f22.tar.gz
rspamd-a4793bf27353ba89087430bb52fb4308ff168f22.zip
[Fix] Do not lowercase Content-Disposition to perform decoding
Diffstat (limited to 'test')
-rw-r--r--test/lua/unit/rfc2047.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/lua/unit/rfc2047.lua b/test/lua/unit/rfc2047.lua
index 80c90437c..8c450c47a 100644
--- a/test/lua/unit/rfc2047.lua
+++ b/test/lua/unit/rfc2047.lua
@@ -43,6 +43,7 @@ context("RFC2047 decoding", function()
=?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;'},
+ {"=?windows-1251?B?xO7q8+zl7fIuc2NyLnV1ZQ==?=", "Документ.scr.uue"},
}
local pool = ffi.C.rspamd_mempool_new(4096, "lua")