Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix OC_Image: Prevent E_WARNING from getimagesize* #36636

Merged
merged 1 commit into from
Mar 23, 2023

Conversation

marcelklehr
Copy link
Member

@marcelklehr marcelklehr commented Feb 9, 2023

Summary

getimagesize and its sister throw E_WARNINGs that can't be caught with try-catch. @ silences these.

see #36420 (comment)
and #35932

Checklist

@marcelklehr
Copy link
Member Author

/backport to stable25

@marcelklehr
Copy link
Member Author

/backport to stable24

@szaimen szaimen added this to the Nextcloud 27 milestone Mar 16, 2023
@szaimen
Copy link
Contributor

szaimen commented Mar 16, 2023

/backport to stable26

@szaimen
Copy link
Contributor

szaimen commented Mar 16, 2023

/rebase

@szaimen szaimen enabled auto-merge March 16, 2023 11:03
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
@nextcloud-command nextcloud-command force-pushed the fix/oc-image-getimagesize branch from 11897bb to 4a2acca Compare March 16, 2023 11:10
@szaimen szaimen disabled auto-merge March 23, 2023 13:59
@szaimen
Copy link
Contributor

szaimen commented Mar 23, 2023

Cypress failure unrelated

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Stopped checking photos
4 participants