diff options
| author | 2025-06-25 16:37:41 +0200 | |
|---|---|---|
| committer | 2025-06-25 16:37:41 +0200 | |
| commit | 7c57f38008136202ba7b38e3154ac87be4eefb68 (patch) | |
| tree | 8fb1c8856579e3f1ae880ae5d3e64ccc18339572 /lib/lib_install.php | |
| parent | 42aeecb5ed6f7e89c795dca0f96ba6497f3e349e (diff) | |
Fix feeds encoded in UTF-16LE (#7691)
* Fix feeds encoded in UTF-16LE
Fix https://github.com/FreshRSS/FreshRSS/issues/7690
https://github.com/FreshRSS/simplepie/pull/40
The final character `>` of a feed is encoded as `3E00` in UTF-16LE, so calling `trim()` was removing the `\x00`, breaking the multibyte encoding and making the feed invalid.
Upstream PR https://github.com/simplepie/simplepie/pull/916
* Trim body for all paths
https://github.com/FreshRSS/simplepie/pull/42
https://github.com/simplepie/simplepie/pull/917
Slight refactor of https://github.com/simplepie/simplepie/pull/916 (https://github.com/FreshRSS/simplepie/pull/40) to cover all paths.
Missing paths included the fsock method without gzip (e.g. deflate or plain).
Diffstat (limited to 'lib/lib_install.php')
0 files changed, 0 insertions, 0 deletions
