From b384e473e4f7dbab52ff410416b878639310afbe Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Tue, 24 May 2016 12:05:22 +0100 Subject: [PATCH] [CritFix] Fix mime headers processing Issue: #634 Reported by: @AdUser --- src/libmime/mime_expressions.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/libmime/mime_expressions.c b/src/libmime/mime_expressions.c index a29b52252..e0c0aa479 100644 --- a/src/libmime/mime_expressions.c +++ b/src/libmime/mime_expressions.c @@ -635,7 +635,8 @@ set: else { /* Register new item in the cache */ if (mime_atom->d.re->type == RSPAMD_RE_HEADER || - mime_atom->d.re->type == RSPAMD_RE_RAWHEADER) { + mime_atom->d.re->type == RSPAMD_RE_RAWHEADER || + mime_atom->d.re->type == RSPAMD_RE_MIMEHEADER) { if (mime_atom->d.re->header != NULL) { own_re = mime_atom->d.re->regexp; -- 2.39.5