]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.12] gh-135462: Fix quadratic complexity in processing special input in HTMLParser...
authorSerhiy Storchaka <storchaka@gmail.com>
Thu, 3 Jul 2025 22:12:10 +0000 (01:12 +0300)
committerGitHub <noreply@github.com>
Thu, 3 Jul 2025 22:12:10 +0000 (00:12 +0200)
commitab0893fd5c579d9cea30841680e6d35fc478afb5
tree371544edd1a7d8f0b2f9f1abfb0881962b54fd05
parent033aa5cfd856e52d5b10fc765631c16b308ee4f1
[3.12] gh-135462: Fix quadratic complexity in processing special input in HTMLParser (GH-135464) (GH-135483)

End-of-file errors are now handled according to the HTML5 specs --
comments and declarations are automatically closed, tags are ignored.
(cherry picked from commit 6eb6c5dbfb528bd07d77b60fd71fd05d81d45c41)
Lib/html/parser.py
Lib/test/test_htmlparser.py
Misc/NEWS.d/next/Security/2025-06-13-15-55-22.gh-issue-135462.KBeJpc.rst [new file with mode: 0644]