summaryrefslogtreecommitdiffstats
path: root/src/expressions.c
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@rambler-co.ru>2010-10-26 21:38:03 +0400
committerVsevolod Stakhov <vsevolod@rambler-co.ru>2010-10-26 21:38:03 +0400
commit81fd72379a9b16aac7905d59bf76acfdd2f4e03e (patch)
tree2f01a0268d58da15fa1814f5a2ddd78baa06f6b5 /src/expressions.c
parent67e60b72919e9c33b25da7088a92c03d591ecf3f (diff)
downloadrspamd-81fd72379a9b16aac7905d59bf76acfdd2f4e03e.tar.gz
rspamd-81fd72379a9b16aac7905d59bf76acfdd2f4e03e.zip
Add add_header action to smtp proxy.
In raw mode scan stripped html parts when regexp are not 'raw'.
Diffstat (limited to 'src/expressions.c')
-rw-r--r--src/expressions.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/expressions.c b/src/expressions.c
index c4fa738b5..1f83c2827 100644
--- a/src/expressions.c
+++ b/src/expressions.c
@@ -642,6 +642,7 @@ parse_regexp (memory_pool_t * pool, gchar *line, gboolean raw_mode)
break;
case 'r':
regexp_flags |= G_REGEX_RAW;
+ result->is_raw = TRUE;
p++;
break;
/* Type flags */