]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-135462: Fix quadratic complexity in processing special input in HTMLParser (GH...
authorSerhiy Storchaka <storchaka@gmail.com>
Fri, 13 Jun 2025 16:57:48 +0000 (19:57 +0300)
committerGitHub <noreply@github.com>
Fri, 13 Jun 2025 16:57:48 +0000 (19:57 +0300)
commit6eb6c5dbfb528bd07d77b60fd71fd05d81d45c41
tree77237314c444176963e891a0673e683f5cf815c6
parent14c1d093d52d8de32c486808c1e1e85e0f61c11c
gh-135462: Fix quadratic complexity in processing special input in HTMLParser (GH-135464)

End-of-file errors are now handled according to the HTML5 specs --
comments and declarations are automatically closed, tags are ignored.
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]