diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2017-03-07 11:38:05 +0000 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2017-03-07 11:49:17 +0000 |
commit | a87070a16587cd02f3c1d3f930186a0e957a098a (patch) | |
tree | e5cbf8d28cc058c38eceef0b525b010638c6df2d /rules | |
parent | 152f1af776e055b48c0b23754bb1ced6d803b97d (diff) | |
download | rspamd-a87070a16587cd02f3c1d3f930186a0e957a098a.tar.gz rspamd-a87070a16587cd02f3c1d3f930186a0e957a098a.zip |
[Fix] Fix parsing of cte in expressions
Diffstat (limited to 'rules')
-rw-r--r-- | rules/regexp/headers.lua | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/rules/regexp/headers.lua b/rules/regexp/headers.lua index 30ccd5d0f..f58feeaf8 100644 --- a/rules/regexp/headers.lua +++ b/rules/regexp/headers.lua @@ -107,7 +107,8 @@ reconf['R_RCVD_SPAMBOTS'] = { -- Charset is missing in message reconf['R_MISSING_CHARSET'] = { - re = string.format('content_type_is_type(text) & !content_type_has_param(charset) & !%s', r_cte_7bit), + re = string.format('content_type_is_type(text) & !content_type_has_param(charset) & !%s', + r_cte_7bit), score = 2.5, description = 'Charset is missing in a message', group = 'header' |