aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2020-02-10 18:21:04 +0000
committerGitHub <noreply@github.com>2020-02-10 18:21:04 +0000
commitaa837bc3a6efcd0d8d20aac06eee2c3354caf117 (patch)
tree5446dbab45a9e092c07b714fc05c218e5694abd3
parent18836eb4ef19990f9bf2844957b32cbe4a188c0e (diff)
parentbc613d0186147bf1eae384f007366ce709662aed (diff)
downloadrspamd-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.c4
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
+}