Page MenuHomePhabricator

Image preview explodes on some API requests with UTF-8 characters
Closed, ResolvedPublic

Details

Reference
bz57089

Event Timeline

bzimport raised the priority of this task from to Needs Triage.Nov 22 2014, 2:12 AM
bzimport set Reference to bz57089.
bzimport added a subscriber: Unknown Object (MLST).

bingle-admin wrote:

Prioritization and scheduling of this bug is tracked on Mingle card https://wikimedia.mingle.thoughtworks.com/projects/mobile/cards/1413

I get an internal server error when I try to load any Commons hosted image on Beta Labs:

http://en.wikipedia.beta.wmflabs.org/wiki/File:SF_From_Marin_Highlands3.jpg
http://en.m.wikipedia.beta.wmflabs.org/wiki/File:SF_From_Marin_Highlands3.jpg

PHP fatal error in /data/project/apache/common-local/php-master/includes/filerepo/file/File.php line 1724:
Cannot access protected property ForeignAPIRepo::$fetchDescription

Looks like that was a separate bug: bug 57535

Change 97828 had a related patch set uploaded by JGonera:
Fix media viewer for images with unicode characters

https://gerrit.wikimedia.org/r/97828

Change 97828 merged by jenkins-bot:
Fix media viewer for images with unicode characters

https://gerrit.wikimedia.org/r/97828