mirror of
https://github.com/nextcloud/server.git
synced 2026-05-19 08:25:56 -04:00
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> |
||
|---|---|---|
| .. | ||
| template | ||
| OC_API.php | ||
| OC_App.php | ||
| OC_Defaults.php | ||
| OC_EventSource.php | ||
| OC_FileChunking.php | ||
| OC_Files.php | ||
| OC_Helper.php | ||
| OC_Hook.php | ||
| OC_Image.php | ||
| OC_JSON.php | ||
| OC_Response.php | ||
| OC_Template.php | ||
| OC_User.php | ||
| OC_Util.php | ||