Thanks to visit codestin.com
Credit goes to github.com

Skip to content

[Validator] Fix charset encoding detection in CharsetValidator #53538

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jan 16, 2024

Conversation

alexandre-daubois
Copy link
Member

Q A
Branch? 7.1
Bug fix? yes
New feature? no
Deprecations? no
Issues Fix #53154 (comment)
License MIT

After @smnandre suggestion, I updated the constraint to display a better message on the detected encoding. Indeed, if we fail to check the encoding is in the provided ones, then we fall back on any encoding detected by mbstring.

@xabbuh
Copy link
Member

xabbuh commented Jan 16, 2024

Thank you @alexandre-daubois.

@xabbuh xabbuh merged commit b40b65d into symfony:7.1 Jan 16, 2024
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.

4 participants