aboutsummaryrefslogtreecommitdiffstats
path: root/src/libmime
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2018-11-30 10:00:21 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2018-11-30 10:00:21 +0000
commit3f147877af03e70bac4cb9786108c2238d578038 (patch)
treeb9f82f337ca909534609096d101a8c5204b72ebb /src/libmime
parent44b731c68fc57e94fa26d0172f4805a56bcb94ea (diff)
downloadrspamd-3f147877af03e70bac4cb9786108c2238d578038.tar.gz
rspamd-3f147877af03e70bac4cb9786108c2238d578038.zip
[Rules] Use bad_unicode flag for LEAKED_PASSWORD_SCAM rule
Issue: #2649
Diffstat (limited to 'src/libmime')
-rw-r--r--src/libmime/mime_expressions.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libmime/mime_expressions.c b/src/libmime/mime_expressions.c
index 7bfbf34d4..04a745c2e 100644
--- a/src/libmime/mime_expressions.c
+++ b/src/libmime/mime_expressions.c
@@ -151,6 +151,7 @@ static struct _fl {
{"has_content_part", rspamd_has_content_part, NULL},
{"has_content_part_len", rspamd_has_content_part_len, NULL},
{"has_fake_html", rspamd_has_fake_html, NULL},
+ {"has_flag", rspamd_has_flag_expr, NULL},
{"has_html_tag", rspamd_has_html_tag, NULL},
{"has_only_html_part", rspamd_has_only_html_part, NULL},
{"header_exists", rspamd_header_exists, NULL},
@@ -158,7 +159,6 @@ static struct _fl {
{"is_html_balanced", rspamd_is_html_balanced, NULL},
{"is_recipients_sorted", rspamd_is_recipients_sorted, NULL},
{"raw_header_exists", rspamd_raw_header_exists, NULL},
- {"has_flag", rspamd_has_flag_expr, NULL},
};
const struct rspamd_atom_subr mime_expr_subr = {