From: Vsevolod Stakhov Date: Fri, 19 Nov 2021 10:35:16 +0000 (+0000) Subject: [Fix] Fix logic in HTML processing FSM X-Git-Tag: 3.2~247 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=40101edb0e09137b69f3dad467b3816f0bbdecab;p=rspamd.git [Fix] Fix logic in HTML processing FSM --- diff --git a/src/libserver/html/html.cxx b/src/libserver/html/html.cxx index 67adac9bc..5260ba690 100644 --- a/src/libserver/html/html.cxx +++ b/src/libserver/html/html.cxx @@ -2083,11 +2083,6 @@ html_process_input(rspamd_mempool_t *pool, /* Leftover after content */ switch (state) { - case tag_end_opening: - if (cur_tag != nullptr) { - process_opening_tag(); - } - break; case tags_limit_overflow: html_append_parsed(hc, {c, (std::size_t) (end - c)}, false, end - start, hc->parsed);