Skip to content
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

HTTP Get allow UTF-8 even when charset is far from top #6271

Merged
merged 3 commits into from
Apr 6, 2024

Conversation

Alkarex
Copy link
Member

@Alkarex Alkarex commented Apr 6, 2024

fix #5586

The case was an HTML document with 15k whitespace then 1.2k of scripts before the <meta charset="utf-8"> (far from the 1024 bytes suggested by the spec..., and too far for DOMDocument)

fix FreshRSS#5586

The case was an HTML document with 15k whitespace then 1.2k of scripts before the `<meta charset="utf-8">` (far from the 1024 bytes suggested by the spec..., and too far for DOMDocument)
lib/lib_rss.php Outdated Show resolved Hide resolved
lib/lib_rss.php Outdated Show resolved Hide resolved
Copy link
Member

@Frenzie Frenzie left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm!

@Alkarex Alkarex merged commit e3c86a1 into FreshRSS:edge Apr 6, 2024
2 checks passed
@Alkarex Alkarex deleted the rescue-deep-utf8 branch April 6, 2024 21:02
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.

[BUG] CSS Selector Retrieves Garbled Text
2 participants