From f41e30b785e5d35bf11c71ed3346095eacb797b4 Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Wed, 21 Dec 2016 12:02:45 +0000 Subject: [Fix] Fix parsing of '=' character in headers --- src/libmime/mime_headers.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src') diff --git a/src/libmime/mime_headers.c b/src/libmime/mime_headers.c index 7cfe3112c..f2f2c2270 100644 --- a/src/libmime/mime_headers.c +++ b/src/libmime/mime_headers.c @@ -388,6 +388,7 @@ rspamd_mime_header_decode (rspamd_mempool_t *pool, const gchar *in, else { g_string_append_len (out, c, 2); c = p + 1; + state = parse_normal; } p ++; break; -- cgit v1.2.3