1
0
mirror of https://github.com/RSS-Bridge/rss-bridge.git synced 2025-07-19 07:51:33 +02:00
Files
php-rss-bridge/caches
Dag 0a118310cb fix(sqlitecache): store blob as blob (#3555)
serialize() can return output with null bytes and other
non-text data. The prior behavior truncated data
which later results in unserialize() errors.

This happens when e.g. caching an object with a private field
or when caching e.g. a JPEG file (starts with 0xFFD8FFE1)

Fixes errors such as e.g.:

unserialize(): Error at offset 20 of 24 bytes at caches/SQLiteCache.php line 51
2023-07-20 19:11:13 +02:00
..