Page MenuHomePhabricator

The file Socialist_Party_logo.svg render a blank thumbnail due to an included "xlink:href" not defining a MIME type for its base64 data
Closed, InvalidPublic

Description

The svg-file at File:Socialist_Party_logo.svg does not render a proper thumbnail, it turns out as blank on most (?) wikis. Loading of the svg-file itself renders as expected.

If loaded into Inkscape and then reuploaded a security warning is issued

Screendump upload warning 2016-05-24.png (444×916 px, 69 KB)

It reads "Upload warning" and then "Found href to unsecure data: URI-target…"

Screendump upload torget 2016-05-24.png (344×1 px, 49 KB)

The discussion at Wikipedia:Torget (the Bazaar at nowiki). On the right is a thumbnail of the logo.

Event Timeline

Metamarex found the bug. Th svg-file reads xlink:href="data:;base64,iVBORw0KG… but should read xlink:href="data:image/png;base64,iVBORw0KG...

Thanks!

jeblad claimed this task.
Aklapper changed the task status from Resolved to Invalid.May 24 2016, 8:07 PM

No Wikimedia code was fixed here, hence changing task status from resolved to invalid.

Aklapper renamed this task from The file Socialist_Party_logo.svg render a blank thumbnail to The file Socialist_Party_logo.svg render a blank thumbnail due to an included "xlink:href" not defining a MIME type for its base64 data.Jul 17 2018, 10:31 AM