diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2016-05-24 12:05:22 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2016-05-24 12:05:22 +0100 |
commit | 29ff7ec22cf1a32658f61811c178f79df9a4a0ce (patch) | |
tree | 4928e5c234e1763e8c46dee5308566255ef3bb07 /src/libmime | |
parent | 1474f9836af38dc8ad6089fe4dee8ece73a2a122 (diff) | |
download | rspamd-29ff7ec22cf1a32658f61811c178f79df9a4a0ce.tar.gz rspamd-29ff7ec22cf1a32658f61811c178f79df9a4a0ce.zip |
[CritFix] Fix mime headers processing
Issue: #634
Reported by: @AdUser
Diffstat (limited to 'src/libmime')
-rw-r--r-- | src/libmime/mime_expressions.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/libmime/mime_expressions.c b/src/libmime/mime_expressions.c index af0378e1d..3fad7c568 100644 --- a/src/libmime/mime_expressions.c +++ b/src/libmime/mime_expressions.c @@ -636,7 +636,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; |