Victrid / freshrss-image-cache-plugin

Cache feed images on your own facility or Cloudflare cache.
GNU General Public License v3.0
23 stars 5 forks source link

Deprecated: mb_convert_encoding(): #3

Closed Whichbfj28 closed 1 month ago

Whichbfj28 commented 1 month ago

Deprecated: mb_convert_encoding(): Handling HTML entities via mbstring is deprecated; use htmlspecialchars, htmlentities, or mb_encode_numericentity/mb_decode_numericentity instead in freshrss-image-cache-plugin-0.3/extension.php on line 114

php 8.2.7

Victrid commented 1 month ago

Hello,

I will be updating this plugin to match the code changes in the original plugin:

https://github.com/FreshRSS/Extensions/blob/70c1d7526f26eb444deab5441a04ab3542c244eb/xExtension-ImageProxy/extension.php

Thanks for the Issue!

Victrid commented 1 month ago

Problem fixed by #5, and a new version is released.

The original extension also have this problem: https://github.com/FreshRSS/Extensions/issues/225, and I have used a hack from SO, now it would have a harmless extra meta tag for each article:

Dirty hack

But no more deprecation warnings :hugs:

If you encountered any problem especially in encoding error, please open a new issue.