Content-Length: 240783 | pFad | https://github.com/fossar/selfoss/pull/826#event-898688965

20 Fix encoding problems caused by camo by lumiru · Pull Request #826 · fossar/selfoss · GitHub
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

Fix encoding problems caused by camo #826

Merged
merged 2 commits into from
Dec 19, 2016
Merged

Fix encoding problems caused by camo #826

merged 2 commits into from
Dec 19, 2016

Conversation

lumiru
Copy link
Contributor

@lumiru lumiru commented Dec 17, 2016

Loading HTML in DomDocument create encoding issues.
Additionally, regex are faster than loading a document tree.

I often found this issue with fulltextrss spout and French feeds.

There might be another problem with encoding with this spout.
Indeed, I get similar problems on selfoss android app even if I apply this fix.

Loading HTML in DomDocument create encoding issues.
Additionally, regex are faster than loading a document tree.
@jtojnar
Copy link
Member

jtojnar commented Dec 17, 2016

Regexes might be slightly faster but are much easier to make mistake.

Edit: I misread.

@lumiru
Copy link
Contributor Author

lumiru commented Dec 17, 2016

Oh sorry, I made a mistake.

@jtojnar Please note that the used regex is the same as the one used for delayed image load.

@SSilence SSilence merged commit 90fdba0 into fossar:master Dec 19, 2016
@lumiru lumiru deleted the patch-3 branch December 20, 2016 00:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: https://github.com/fossar/selfoss/pull/826#event-898688965

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy