nextcloud/lib
Josh Richards 2c58184b85 fix(previews): Don't crash on animated WEBP images
Fixes #30029 and #37263

libgd handles animated WEBP images poorly and generates a meaningless error message as a result. We were returning a 500 error for these preview requests (web) and a fatal error at the command-line (occ). Now we bypass libgd if the we detect an animated WEBP image (and simply don't generate the preview). No more 500 error. Should fix occ too.

Signed-off-by: Josh Richards <josh.t.richards@gmail.com>
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
2024-08-06 16:07:24 +00:00
..
composer fix(mail): Fix big logos in mail templates for Outlook 2024-07-19 10:11:43 +02:00
l10n Fix(l10n): Update translations from Transifex 2024-08-06 00:20:25 +00:00
private fix(previews): Don't crash on animated WEBP images 2024-08-06 16:07:24 +00:00
public fix: Implement option to temporarily set the user session 2024-07-22 12:44:21 +00:00
autoloader.php Remove deprecated methods Util::writeLog and DIContainer::log 2023-09-25 10:37:12 +02:00
base.php fix: Fix default values for ini var in lib/base.php 2024-04-30 10:12:34 +00:00
versioncheck.php Allow PHP 8.3 in version check 2023-09-30 22:52:57 +02:00