Page MenuHomePhabricator

librsvg handles errors in path data incorrectly
Open, MediumPublic


There's a discrepancy between how common browsers and librsvg render SVG files, which have path data with missing command parameters.

The path element implementation notes specify that "the SVG user agent shall render a ‘path’ element up to (but not including) the path command containing the first error in the path data specification".
Librsvg instead defaults missing parameters to zero and continues rendering.


Event Timeline

Aklapper moved this task from Backlog to Patch merged upstream on the Upstream board.

Cannot reproduce the problem locally running librsvg2-2.44.13.

jijiki triaged this task as Medium priority.Mar 11 2019, 6:37 AM
jijiki added a project: Thumbor.