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

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]