Skip to content

[3.12] gh-135462: Fix quadratic complexity in processing special input in HTMLParser (GH-135464)#135483

Merged
ambv merged 1 commit intopython:3.12from
serhiy-storchaka:backport-6eb6c5d-3.12
Jul 3, 2025
Merged

[3.12] gh-135462: Fix quadratic complexity in processing special input in HTMLParser (GH-135464)#135483
ambv merged 1 commit intopython:3.12from
serhiy-storchaka:backport-6eb6c5d-3.12

Conversation

@serhiy-storchaka
Copy link
Member

@serhiy-storchaka serhiy-storchaka commented Jun 13, 2025

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 6eb6c5d)

…l input in HTMLParser (pythonGH-135464)

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 6eb6c5d)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
@ambv ambv merged commit ab0893f into python:3.12 Jul 3, 2025
32 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type-security A security issue

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants