]> source.dussan.org Git - rspamd.git/commitdiff
[Fix] Fix logic in HTML processing FSM
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Fri, 19 Nov 2021 10:35:16 +0000 (10:35 +0000)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Fri, 19 Nov 2021 10:35:16 +0000 (10:35 +0000)
src/libserver/html/html.cxx

index 67adac9bceb127d45e67b3d5f5fbdb9757fd629a..5260ba690d7d319b7f6756040f6192500e605c8b 100644 (file)
@@ -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);