From: Vsevolod Stakhov Date: Tue, 30 Mar 2021 19:43:48 +0000 (+0100) Subject: [Fix] Fix '==' parsing in the content type attributes parser X-Git-Tag: 3.0~538 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c9bc03f1cce3303b7ee8896b88be2b2733110d99;p=thirdparty%2Frspamd.git [Fix] Fix '==' parsing in the content type attributes parser --- diff --git a/src/libmime/content_type.c b/src/libmime/content_type.c index 7c0ff3743e..4aa72cc7dd 100644 --- a/src/libmime/content_type.c +++ b/src/libmime/content_type.c @@ -441,8 +441,7 @@ rspamd_content_type_parser (gchar *in, gsize len, rspamd_mempool_t *pool) /* Treat as value start */ c = p; eqsign_seen = FALSE; - state = parse_space; - next_state = parse_param_value; + state = parse_param_value; p++; } else { eqsign_seen = TRUE;