]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.10] gh-135462: Fix quadratic complexity in processing special input in HTMLParser...
authorSerhiy Storchaka <storchaka@gmail.com>
Thu, 3 Jul 2025 21:05:53 +0000 (00:05 +0300)
committerGitHub <noreply@github.com>
Thu, 3 Jul 2025 21:05:53 +0000 (23:05 +0200)
commitfdc9d214c01cb4588f540cfa03726bbf2a33fc15
treead13a05b71bc1409de208bfedb687876eb23f2fe
parentf297a2292cd3c3596f21ca5914310f1f8d5d8750
[3.10] gh-135462: Fix quadratic complexity in processing special input in HTMLParser (GH-135464) (GH-135485)

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]