Page MenuHomePhabricator

Update mimeanalyzer with webp support of getimagesize
Open, Needs TriagePublic

Description

https://gerrit.wikimedia.org/g/mediawiki/core/+/5c771bda882791647922d00d39bf95b60bdad9ae/includes/libs/mime/MimeAnalyzer.php#514

// Types recognized by getimagesize()

Note to self. webp was added to that in php7 so should be added here as well.

Event Timeline

TheDJ created this task.Jul 17 2019, 8:41 AM
Restricted Application added subscribers: Gilles, Aklapper. · View Herald TranscriptJul 17 2019, 8:41 AM
TheDJ claimed this task.Jul 17 2019, 8:42 AM
TheDJ added a comment.Jul 17 2019, 8:08 PM

small note.. seems that hhvm is out of date with php7 here and doesn't support webp with its getimagesize.. possibly this should therefor wait for our complete php7 switch ? or wrap in HHVM conditional...