<feed xmlns='http://www.w3.org/2005/Atom'>
<title>FreshRSS (Customized)/lib/SimplePie, branch 1.18.0</title>
<subtitle>Customized version of FreshRSS, a self-hosted RSS feed aggregator</subtitle>
<id>https://git.rdnlsmith.com/fresh-rss-custom/atom?h=1.18.0</id>
<link rel='self' href='https://git.rdnlsmith.com/fresh-rss-custom/atom?h=1.18.0'/>
<link rel='alternate' type='text/html' href='https://git.rdnlsmith.com/fresh-rss-custom/'/>
<updated>2021-03-09T07:41:47+00:00</updated>
<entry>
<title>SimplePie prevent cache pollution (#3502)</title>
<updated>2021-03-09T07:41:47+00:00</updated>
<author>
<name>Alexandre Alapetite</name>
<email>alexandre@alapetite.fr</email>
</author>
<published>2021-03-09T07:41:47+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rdnlsmith.com/fresh-rss-custom/commit/?id=b7fdfbb89421322e0ec15beb10f4260f33afd31e'/>
<id>urn:sha1:b7fdfbb89421322e0ec15beb10f4260f33afd31e</id>
<content type='text'>
* SimplePie prevent cache polution
#fix https://github.com/FreshRSS/FreshRSS/pull/3367#issuecomment-766250249
#fix https://github.com/FreshRSS/FreshRSS/pull/3494#issuecomment-790113663

* Fix bug

* Minor improvement

* Update cache filename in FreshRSS (1/2)

* cacheFilename temp

* New SimplePie get_cache_filename()

* Fix typos

* Update lib/SimplePie/SimplePie.php

Typo

* Include user-agent and timeout

* fix array_merge

* Declaration

* force_feed was lost in a commit</content>
</entry>
<entry>
<title>Manual update to SimplePie 1.5.6 (#3469)</title>
<updated>2021-02-20T22:38:36+00:00</updated>
<author>
<name>Alexandre Alapetite</name>
<email>alexandre@alapetite.fr</email>
</author>
<published>2021-02-20T22:38:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rdnlsmith.com/fresh-rss-custom/commit/?id=75711c3647cd89fb175e786d85544eaf4e7c6e71'/>
<id>urn:sha1:75711c3647cd89fb175e786d85544eaf4e7c6e71</id>
<content type='text'>
* Manual update to SimplePie 1.5.6

Follow-up of https://github.com/FreshRSS/FreshRSS/pull/3206 (1.5.5)
Differences
https://github.com/simplepie/simplepie/compare/692e8bc19bc4aca20b57474cca2a1d234ce89d63...155cfcfacdbf7ee4e9cbb837e70564cdd6a40ac0
Related to https://github.com/FreshRSS/FreshRSS/pull/3416 ,
https://github.com/FreshRSS/FreshRSS/pull/3404

* Typo</content>
</entry>
<entry>
<title>Fix: handle very big feed (#3416)</title>
<updated>2021-02-17T20:50:25+00:00</updated>
<author>
<name>Kiblyn11</name>
<email>4669951+Kiblyn11@users.noreply.github.com</email>
</author>
<published>2021-02-17T20:50:25+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rdnlsmith.com/fresh-rss-custom/commit/?id=0e6ad01dbfc396bee63f2e100df75bcd6488ed16'/>
<id>urn:sha1:0e6ad01dbfc396bee63f2e100df75bcd6488ed16</id>
<content type='text'>
* fix: handle big xml files which cause out of memory exceptions by working with chunks in cleanMd5 function (because of preg_replace) and parse (because of xml_parse)

* Review

* Fixes in error handling (case of the last call to xml_parse, case of
error during fopen, break in case of XML error...)
* Takes advantage of the chunking for computing the cache hash
* Larger chunks of 1MB

Co-authored-by: e &lt;bokes74743@tjuln.com&gt;
Co-authored-by: Alexandre Alapetite &lt;alexandre@alapetite.fr&gt;</content>
</entry>
<entry>
<title>Fix return type for broken feeds (#3423)</title>
<updated>2021-02-05T23:58:51+00:00</updated>
<author>
<name>Alexandre Alapetite</name>
<email>alexandre@alapetite.fr</email>
</author>
<published>2021-02-05T23:58:51+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rdnlsmith.com/fresh-rss-custom/commit/?id=23c43b1fbf74288f0f630d77df27fd2c3bbc6cba'/>
<id>urn:sha1:23c43b1fbf74288f0f630d77df27fd2c3bbc6cba</id>
<content type='text'>
Fix a rare error when an invalid feed is forced to be added again.
FreshRSS code (not upstream)</content>
</entry>
<entry>
<title>PHP8: SimplePie wrong use of isset (#3404)</title>
<updated>2021-01-31T12:04:36+00:00</updated>
<author>
<name>Alexandre Alapetite</name>
<email>alexandre@alapetite.fr</email>
</author>
<published>2021-01-31T12:04:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rdnlsmith.com/fresh-rss-custom/commit/?id=45ee7a36d5de18376c89ef96726c6e88ad37b9ba'/>
<id>urn:sha1:45ee7a36d5de18376c89ef96726c6e88ad37b9ba</id>
<content type='text'>
#fix https://github.com/FreshRSS/FreshRSS/issues/3401 (crash with PHP 8+)

`ceil()` crashes in PHP8+ in case of invalid input such as empty string.
`intval()` fixes the problem with almost identical behaviour than `ceil()` in PHP7- (except for floating point values)

#fix FreshRSS/FreshRSS#3401 (crash with PHP 8+)

Example with feed http://podcast.hr2.de/derTag/podcast.xml

```xml
&lt;enclosure url="https://mp3podcasthr-a.akamaihd.net:443/mp3/podcast/derTag/derTag_20210129_87093232.mp3"
length="" type="audio/mpeg"/&gt;
```

`isset("")` passes and then `ceil("")` crashes due to wrong type in PHP8+:

```
Uncaught TypeError: ceil(): Argument #1 ($num) must be of type
int|float, string given in ./SimplePie/SimplePie/Item.php:2871
```

Upstream patch https://github.com/simplepie/simplepie/pull/670</content>
</entry>
<entry>
<title>Update SimplePie (PHP8) (#3206)</title>
<updated>2020-10-03T13:18:44+00:00</updated>
<author>
<name>Alexandre Alapetite</name>
<email>alexandre@alapetite.fr</email>
</author>
<published>2020-10-03T13:18:44+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rdnlsmith.com/fresh-rss-custom/commit/?id=8ec2b257df4a946d23a4f4f5ccf0b9c3affcff20'/>
<id>urn:sha1:8ec2b257df4a946d23a4f4f5ccf0b9c3affcff20</id>
<content type='text'>
Contributes to https://github.com/FreshRSS/FreshRSS/issues/3082
Includes https://github.com/FreshRSS/FreshRSS/pull/3180
Differences:
https://github.com/simplepie/simplepie/compare/aaad78e6da098e14bec4fec552b3a2dbca7a2d45...692e8bc19bc4aca20b57474cca2a1d234ce89d63</content>
</entry>
<entry>
<title>SimplePie: Fix HTTP 301 permanent redirection (#3180)</title>
<updated>2020-09-17T08:35:56+00:00</updated>
<author>
<name>Alexandre Alapetite</name>
<email>alexandre@alapetite.fr</email>
</author>
<published>2020-09-17T08:35:56+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rdnlsmith.com/fresh-rss-custom/commit/?id=1c0e7b4febf597ca92a74c7b3a4fb84e91493f48'/>
<id>urn:sha1:1c0e7b4febf597ca92a74c7b3a4fb84e91493f48</id>
<content type='text'>
* SimplePie: Fix HTTP 301 permanent redirection

When adding feeds it worked fine, but detecting permanent redirects for
existing feeds was sometimes broken (only when PHP open_basedir was not
set).

Indeed, using the built-in CURLOPT_FOLLOWLOCATION instead of the manual
method in SimplePie hides the list of HTTP redirects along the way, and
prevents the distinction of e.g. 301 vs. 302 redirects.

This patch disables CURLOPT_FOLLOWLOCATION in SimplePie, and fixes the
manual method at the same time.
The use of CURLOPT_FOLLOWLOCATION was nevertheless not systematic (only
when open_basedir was not set), so now there is only one logic
independent of open_basedir.

I will send a PR upstream to SimplePie.

How to test: pick a feed with 301 redirection such as HTTP to HTTPS,
e.g. http://ing.dk/rss/term/341
Manually change back to previous address (to simulate a feed that is
changing address)
Refresh feed and observe whether the 301 redirect is obeyed.

* Wrong blank</content>
</entry>
<entry>
<title>Minor SimplePie merge (#2870)</title>
<updated>2020-04-01T20:42:32+00:00</updated>
<author>
<name>Alexandre Alapetite</name>
<email>alexandre@alapetite.fr</email>
</author>
<published>2020-04-01T20:42:32+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rdnlsmith.com/fresh-rss-custom/commit/?id=9997acd6115e03ef9cd8e7b5097caaccc531cbf0'/>
<id>urn:sha1:9997acd6115e03ef9cd8e7b5097caaccc531cbf0</id>
<content type='text'>
https://github.com/FreshRSS/FreshRSS/pull/2852 was merged upstream
https://github.com/simplepie/simplepie/pull/643
Follow-up of https://github.com/FreshRSS/FreshRSS/pull/2814</content>
</entry>
<entry>
<title>SimplePie use distint cache for force_feed (#2852)</title>
<updated>2020-03-28T19:24:31+00:00</updated>
<author>
<name>Alexandre Alapetite</name>
<email>alexandre@alapetite.fr</email>
</author>
<published>2020-03-28T19:24:31+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rdnlsmith.com/fresh-rss-custom/commit/?id=e424f45b8cd4274160e91d4c1e9e3ba0c2771e55'/>
<id>urn:sha1:e424f45b8cd4274160e91d4c1e9e3ba0c2771e55</id>
<content type='text'>
#fix https://github.com/FreshRSS/FreshRSS/issues/2524
In general, we should avoid using the same cache for feeds that are fetched with distinct parameters / settings..
PR upstream to SimplePie https://github.com/simplepie/simplepie/pull/643</content>
</entry>
<entry>
<title>SimplePie 1.5.4 (#2814)</title>
<updated>2020-02-29T21:29:52+00:00</updated>
<author>
<name>Alexandre Alapetite</name>
<email>alexandre@alapetite.fr</email>
</author>
<published>2020-02-29T21:29:52+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rdnlsmith.com/fresh-rss-custom/commit/?id=97160719183045437934af32b791a790433028fc'/>
<id>urn:sha1:97160719183045437934af32b791a790433028fc</id>
<content type='text'>
https://github.com/simplepie/simplepie/compare/1.5.3..a72e1dfafe7870affdae3edf0d9a494e4fa31bc6
Follow up of the update to 1.5.3
https://github.com/FreshRSS/FreshRSS/pull/2702
Requires PHP 5.6+
https://github.com/FreshRSS/FreshRSS/pull/2527#issuecomment-592952451</content>
</entry>
</feed>
