From: Vsevolod Stakhov Date: Thu, 16 Jul 2015 13:32:55 +0000 (+0100) Subject: Find HTML comment end properly. X-Git-Tag: 1.0.0~352 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=ce44c3c10be7eea45f78e7f375fd4fde7887ecfa;p=thirdparty%2Frspamd.git Find HTML comment end properly. --- diff --git a/src/libserver/html.c b/src/libserver/html.c index 0f7f987585..914d21feb9 100644 --- a/src/libserver/html.c +++ b/src/libserver/html.c @@ -1560,6 +1560,10 @@ rspamd_html_process_part (rspamd_mempool_t *pool, struct html_content *hc, state = tag_end; continue; } + else { + ebrace = 0; + } + p ++; break;