TheDJ has uploaded a new change for review. Change subject: (bug 41174) Make the SVG parser accept SVG files without a namespace ......................................................................
(bug 41174) Make the SVG parser accept SVG files without a namespace SVG files with missing xmlns namespace are not valid SVG files, but are valid XML files. This patch implicitly assumes the SVG namespace for any SVG file that doesn't declare an explicit namespace, but has <svg> as the root element. These files are not 100% valid, and cannot be rendered by Chrome and Firefox. Change-Id: I17c79762e3e9a06f0a515d543d473961580eaea5 --- M includes/media/SVGMetadataExtractor.php 1 file changed, 23 insertions(+), 4 deletions(-) git pull ssh://gerrit.wikimedia.org:29418/mediawiki/core refs/changes/68/29968/1 -- To view, visit https://gerrit.wikimedia.org/r/29968 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I17c79762e3e9a06f0a515d543d473961580eaea5 Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/core Gerrit-Branch: master Gerrit-Owner: TheDJ <[email protected]> _______________________________________________ MediaWiki-commits mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits
