]> git.ipfire.org Git - thirdparty/rspamd.git/commitdiff
Find HTML comment end properly.
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Thu, 16 Jul 2015 13:32:55 +0000 (14:32 +0100)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Thu, 16 Jul 2015 13:32:55 +0000 (14:32 +0100)
src/libserver/html.c

index 0f7f987585efe4437ed9b3fc7e81bc91b8fe6813..914d21feb9afcf609c8be4c688baaca9e8e8a16f 100644 (file)
@@ -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;