Skip to content

Conversation

@backportbot
Copy link

@backportbot backportbot bot commented Aug 6, 2024

Backport of PR #38364

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 <[email protected]>
Signed-off-by: Richard Steinmetz <[email protected]>
@st3iny st3iny merged commit 1b50d28 into stable29 Aug 7, 2024
@st3iny st3iny deleted the backport/38364/stable29 branch August 7, 2024 08:16
@Altahrim Altahrim mentioned this pull request Aug 8, 2024
9 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants