diff options
author | Anton Yuzhaninov <citrin+git@citrin.ru> | 2020-02-10 16:14:44 +0000 |
---|---|---|
committer | Anton Yuzhaninov <citrin+git@citrin.ru> | 2020-02-10 16:14:44 +0000 |
commit | bc613d0186147bf1eae384f007366ce709662aed (patch) | |
tree | 5446dbab45a9e092c07b714fc05c218e5694abd3 /src/libmime | |
parent | 18836eb4ef19990f9bf2844957b32cbe4a188c0e (diff) | |
download | rspamd-bc613d0186147bf1eae384f007366ce709662aed.tar.gz rspamd-bc613d0186147bf1eae384f007366ce709662aed.zip |
[Fix] 'R' flag is for all headers regexp
According to the documentation R flag is for regexp which applied for
all headers (unencoded):
https://rspamd.com/doc/modules/regexp.html#regular-expressions
Diffstat (limited to 'src/libmime')
-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 +} |