]> source.dussan.org Git - rspamd.git/commitdiff
[Fix] Add missing types
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Tue, 7 Jun 2016 18:58:07 +0000 (20:58 +0200)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Tue, 7 Jun 2016 18:58:07 +0000 (20:58 +0200)
src/libmime/mime_expressions.c

index 0f026980a1ddb47c2bda6af9a62dc07e682ab2a2..8a121f7a16f2657f7e96a49b1a277b06654c1c9d 100644 (file)
@@ -207,6 +207,14 @@ rspamd_parse_long_option (const gchar *start, gsize len,
                ret = TRUE;
                a->type = RSPAMD_RE_RAWHEADER;
        }
+       else if (rspamd_lc_cmp (start, "all_header", len) == 0) {
+               ret = TRUE;
+               a->type = RSPAMD_RE_ALLHEADER;
+       }
+       else if (rspamd_lc_cmp (start, "url", len) == 0) {
+               ret = TRUE;
+               a->type = RSPAMD_RE_URL;
+       }
        else if (rspamd_lc_cmp (start, "sabody", len) == 0) {
                ret = TRUE;
                a->type = RSPAMD_RE_SABODY;