diff options
author | Vsevolod Stakhov <vsevolod@rambler-co.ru> | 2009-03-17 12:25:23 +0300 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@rambler-co.ru> | 2009-03-17 12:25:23 +0300 |
commit | 8cc22288806b9ff7115cb8f30349029714e2d89a (patch) | |
tree | bc569c0dc56263b07906987ae22b8379cfb5325e /src/cfg_utils.c | |
parent | cfd2ff7bb58b81b7c0713b423a5b3397579610e7 (diff) | |
download | rspamd-8cc22288806b9ff7115cb8f30349029714e2d89a.tar.gz rspamd-8cc22288806b9ff7115cb8f30349029714e2d89a.zip |
* Add ability to match raw headers
* Update documentation
Diffstat (limited to 'src/cfg_utils.c')
-rw-r--r-- | src/cfg_utils.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/cfg_utils.c b/src/cfg_utils.c index 3d2ce611c..204ed65f6 100644 --- a/src/cfg_utils.c +++ b/src/cfg_utils.c @@ -656,6 +656,12 @@ parse_regexp (memory_pool_t *pool, char *line) } p ++; break; + case 'X': + if (result->type == REGEXP_NONE || result->type == REGEXP_HEADER) { + result->type = REGEXP_RAW_HEADER; + } + p ++; + break; /* Stop flags parsing */ default: p = NULL; |