[BZ#770868] Decoding of base64 images with no mimetype
Submitted by Andreas Smas
Link to original bug (#770868)
Description
Created attachment 334763 Example SVG file
Code in rsvg-io.c assumes that there is always a mime-type with a format identifier. However for SVGs generated by software from Aspose this is not the case.
There is looks like this:
<image width="174" height="157" preserveAspectRatio="none" xlink:href="data:;base64,iVBORw0KGgoAAAANSUh ....
Attachment 334763, "Example SVG file":