<feed xmlns='http://www.w3.org/2005/Atom'>
<title>FreshRSS (Customized)/lib/lib_rss.php, branch 1.24.3</title>
<subtitle>Customized version of FreshRSS, a self-hosted RSS feed aggregator</subtitle>
<id>https://git.rdnlsmith.com/fresh-rss-custom/atom?h=1.24.3</id>
<link rel='self' href='https://git.rdnlsmith.com/fresh-rss-custom/atom?h=1.24.3'/>
<link rel='alternate' type='text/html' href='https://git.rdnlsmith.com/fresh-rss-custom/'/>
<updated>2024-08-16T20:40:56+00:00</updated>
<entry>
<title>Fix HTTP cache of user queries (#6718)</title>
<updated>2024-08-16T20:40:56+00:00</updated>
<author>
<name>Alexandre Alapetite</name>
<email>alexandre@alapetite.fr</email>
</author>
<published>2024-08-16T20:40:56+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rdnlsmith.com/fresh-rss-custom/commit/?id=c480e571619c2e68000d85b866ef23c89ad83ddf'/>
<id>urn:sha1:c480e571619c2e68000d85b866ef23c89ad83ddf</id>
<content type='text'>
fix https://github.com/FreshRSS/FreshRSS/issues/6717</content>
</entry>
<entry>
<title>Minor update whitespace PHPCS rules (#6666)</title>
<updated>2024-08-01T18:31:40+00:00</updated>
<author>
<name>Alexandre Alapetite</name>
<email>alexandre@alapetite.fr</email>
</author>
<published>2024-08-01T18:31:40+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rdnlsmith.com/fresh-rss-custom/commit/?id=d2247221bbf23a8fe19f66ea4ad7d0a59ffaa5b4'/>
<id>urn:sha1:d2247221bbf23a8fe19f66ea4ad7d0a59ffaa5b4</id>
<content type='text'>
* Minor update whitespace PHPCS rules
To simplify our configuration, apply more rules, and be clearer about what is added or removed compared with PSR12.
Does not change our current conventions, but just a bit more consistent.

* Forgotten *.phtml

* Sort exclusion patterns + add a few for Extensions repo

* Relaxed some rules</content>
</entry>
<entry>
<title>Pass PHPStan level 9 (#6544)</title>
<updated>2024-06-09T18:32:12+00:00</updated>
<author>
<name>Alexandre Alapetite</name>
<email>alexandre@alapetite.fr</email>
</author>
<published>2024-06-09T18:32:12+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rdnlsmith.com/fresh-rss-custom/commit/?id=5b28a35003a015e29770094932157f13a3f7f5c0'/>
<id>urn:sha1:5b28a35003a015e29770094932157f13a3f7f5c0</id>
<content type='text'>
* More PHPStan

* More, passing

* 4 more files

* Update to PHPStan 1.11.4
Needed for fixed bug: Consider numeric-string types after string concat
https://github.com/phpstan/phpstan/releases/tag/1.11.4

* Pass PHPStan level 9
Start tracking booleansInConditions

* Fix mark as read

* Fix doctype

* ctype_digit</content>
</entry>
<entry>
<title>Fix HTTP GET curl options (#6492)</title>
<updated>2024-05-25T16:27:12+00:00</updated>
<author>
<name>Alexandre Alapetite</name>
<email>alexandre@alapetite.fr</email>
</author>
<published>2024-05-25T16:27:12+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rdnlsmith.com/fresh-rss-custom/commit/?id=3cd90a2b1f1ad4f55b494de2019d2ed915bb79c6'/>
<id>urn:sha1:3cd90a2b1f1ad4f55b494de2019d2ed915bb79c6</id>
<content type='text'>
fix https://github.com/FreshRSS/FreshRSS/issues/6491
Regression from https://github.com/FreshRSS/FreshRSS/pull/6177</content>
</entry>
<entry>
<title>PHPStan 1.11 + minor update dev dependencies (#6459)</title>
<updated>2024-05-15T06:57:58+00:00</updated>
<author>
<name>Alexandre Alapetite</name>
<email>alexandre@alapetite.fr</email>
</author>
<published>2024-05-15T06:57:58+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rdnlsmith.com/fresh-rss-custom/commit/?id=2d17c020b6695d47debda065804db4e2d2f92e55'/>
<id>urn:sha1:2d17c020b6695d47debda065804db4e2d2f92e55</id>
<content type='text'>
* PHPStan 1.11 + minor update dev dependencies
https://github.com/phpstan/phpstan/releases/tag/1.11.0

* Comment style</content>
</entry>
<entry>
<title>SimplePie replace iframe allow attribute (#6274)</title>
<updated>2024-04-11T06:48:50+00:00</updated>
<author>
<name>Alexandre Alapetite</name>
<email>alexandre@alapetite.fr</email>
</author>
<published>2024-04-11T06:48:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rdnlsmith.com/fresh-rss-custom/commit/?id=7aaed6092f09b73b2deb7e32a1fed9b776c0202d'/>
<id>urn:sha1:7aaed6092f09b73b2deb7e32a1fed9b776c0202d</id>
<content type='text'>
* SimplePie strip iframe allow attribute
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/iframe#allow

Besides security, the `allow autoplay` atttribute is especially problematic on mobile (Firefox on Android) as it asks to open the YouTube app as soon as the article is opened.

Example of code before:

```html
&lt;iframe data-original="https://www.youtube.com/embed/??????feature=oembed" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen="" sandbox="allow-scripts allow-same-origin"&gt;&lt;/iframe&gt;
```

* Replace allow attribute

* Allow more</content>
</entry>
<entry>
<title>HTTP Get allow UTF-8 even when charset is far from top (#6271)</title>
<updated>2024-04-06T21:02:50+00:00</updated>
<author>
<name>Alexandre Alapetite</name>
<email>alexandre@alapetite.fr</email>
</author>
<published>2024-04-06T21:02:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rdnlsmith.com/fresh-rss-custom/commit/?id=e3c86a164d9903a99f10affae095f350e4075287'/>
<id>urn:sha1:e3c86a164d9903a99f10affae095f350e4075287</id>
<content type='text'>
* HTTP Get allow UTF-8 even when charset is far from top
fix https://github.com/FreshRSS/FreshRSS/issues/5586

The case was an HTML document with 15k whitespace then 1.2k of scripts before the `&lt;meta charset="utf-8"&gt;` (far from the 1024 bytes suggested by the spec..., and too far for DOMDocument)

* Rewording

* Trim also vertical tab + comment</content>
</entry>
<entry>
<title>Refactor some cURL options and use CURLOPT_USERPWD (#6177)</title>
<updated>2024-03-10T22:04:17+00:00</updated>
<author>
<name>Alexandre Alapetite</name>
<email>alexandre@alapetite.fr</email>
</author>
<published>2024-03-10T22:04:17+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rdnlsmith.com/fresh-rss-custom/commit/?id=d0072b9fb73a6582c98c7b5a44daf2d6ca39636e'/>
<id>urn:sha1:d0072b9fb73a6582c98c7b5a44daf2d6ca39636e</id>
<content type='text'>
* Refactor some cURL options and use CURLOPT_USERPWD
fix https://github.com/FreshRSS/FreshRSS/issues/6176

* Fixes</content>
</entry>
<entry>
<title>Reduce API memory consumption (#6137)</title>
<updated>2024-03-01T09:08:25+00:00</updated>
<author>
<name>Alexandre Alapetite</name>
<email>alexandre@alapetite.fr</email>
</author>
<published>2024-03-01T09:08:25+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rdnlsmith.com/fresh-rss-custom/commit/?id=5e54d5bc58dd815a84d12da1218c09e2c200b6eb'/>
<id>urn:sha1:5e54d5bc58dd815a84d12da1218c09e2c200b6eb</id>
<content type='text'>
`echo json_encode(...)` is very memory demanding for large responses, so optimised.
Contributes to https://github.com/FreshRSS/FreshRSS/issues/6136
https://github.com/FreshRSS/FreshRSS/pull/6013#discussion_r1506779881</content>
</entry>
<entry>
<title>Web scraping support encodings such as EUC-JP (#6112)</title>
<updated>2024-02-18T09:53:44+00:00</updated>
<author>
<name>Alexandre Alapetite</name>
<email>alexandre@alapetite.fr</email>
</author>
<published>2024-02-18T09:53:44+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rdnlsmith.com/fresh-rss-custom/commit/?id=7d6a64a52243838e37ed47289b73574cfcd3b356'/>
<id>urn:sha1:7d6a64a52243838e37ed47289b73574cfcd3b356</id>
<content type='text'>
* Web scraping support encodings such as EUC-JP
fix https://github.com/FreshRSS/FreshRSS/issues/6106

* Typo</content>
</entry>
</feed>
