diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2020-02-10 18:21:04 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-02-10 18:21:04 +0000 |
commit | aa837bc3a6efcd0d8d20aac06eee2c3354caf117 (patch) | |
tree | 5446dbab45a9e092c07b714fc05c218e5694abd3 | |
parent | 18836eb4ef19990f9bf2844957b32cbe4a188c0e (diff) | |
parent | bc613d0186147bf1eae384f007366ce709662aed (diff) | |
download | rspamd-aa837bc3a6efcd0d8d20aac06eee2c3354caf117.tar.gz rspamd-aa837bc3a6efcd0d8d20aac06eee2c3354caf117.zip |
Merge pull request #3261 from citrin/fix-re-flag
[Fix] 'R' flag is for all headers regexp
-rw-r--r-- | src/libmime/mime_expressions.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libmime/mime_expressions.c b/src/libmime/mime_expressions.c index ea46233ec..19d15cb53 100644 --- a/src/libmime/mime_expressions.c +++ b/src/libmime/mime_expressions.c @@ -380,7 +380,7 @@ rspamd_mime_expr_parse_regexp_atom (rspamd_mempool_t * pool, const gchar *line, p++; break; case 'R': - result->type = RSPAMD_RE_RAWHEADER; + result->type = RSPAMD_RE_ALLHEADER; p++; break; case 'B': @@ -2328,4 +2328,4 @@ rspamd_has_symbol_expr (struct rspamd_task *task, } return FALSE; -}
\ No newline at end of file +} |