Skip to content

Conversation

@ThomasLandauer
Copy link
Contributor

Q A
Branch? 7.4
Bug fix? yes
New feature? no
Deprecations? no
Issues Fix #62625
License MIT

Wrapping Dom\HTMLDocument::createFromString() into a try...catch.

@carsonbot carsonbot added this to the 8.1 milestone Dec 6, 2025
@carsonbot carsonbot changed the title Fixing #62625 Fixing #62625 Dec 6, 2025
@ThomasLandauer ThomasLandauer changed the base branch from 8.1 to 7.4 December 6, 2025 15:58
@ThomasLandauer ThomasLandauer changed the title Fixing #62625 [DomCrawler] Fixing invalid charset issue #62625 Dec 6, 2025
@nicolas-grekas nicolas-grekas modified the milestones: 8.1, 7.4 Dec 6, 2025
@symfony symfony deleted a comment from carsonbot Dec 6, 2025
@nicolas-grekas nicolas-grekas changed the title [DomCrawler] Fixing invalid charset issue #62625 [DomCrawler] Fixing dealing with invalid charset Dec 6, 2025
@nicolas-grekas
Copy link
Member

Thank you @ThomasLandauer.

@nicolas-grekas nicolas-grekas merged commit 0fb5a25 into symfony:7.4 Dec 6, 2025
@ThomasLandauer ThomasLandauer deleted the issue-62625 branch December 6, 2025 18:22
This was referenced Dec 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[DomCrawler] BC break with exotic charsets - error at Dom\HTMLDocument::createFromString()

3 participants