Please add support for SVG
I've noticed strange things using
httrack to mirror my company's website (to check for link consistency mostly):
Some files weren't found but they didn't make sense at first:
404 for [DOMAIN]/tmp/debamax-logo.png (from [DOMAIN]/data/debamax-title.svg) 404 for [DOMAIN]/data/debamax-logo.svg (from https://preview.debamax.com/data/debamax-title.svg) 404 for [DOMAIN]/home/kibi/work/websites/web.git/data/news.png (from [DOMAIN]/data/news.svg) 404 for [DOMAIN]/data/icons/package-x-generic.svg (from [DOMAIN]/data/icons/debian-packaging.svg) 404 for [DOMAIN]/data/icons/network-workgroup.svg (from [DOMAIN]/data/icons/sysadmin.svg) 404 for [DOMAIN]/data/icons/system-installer.svg (from [DOMAIN]/data/icons/debian-installer.svg) 404 for [DOMAIN]/data/icons/applications-system.svg (from [DOMAIN]/data/icons/development.svg)
[DOMAIN]/home/kibi/work/websites/web.git/data/news.png hinted me into figuring out that this was due to the
inkscape:export-filename attribute's being embedded in the SVG file when you perform an export to PNG from Inkscape. The filename can leak some paths, and possibly the username. I've also found a similar
sodipodi:docname in other SVG files.
So it seems to me cleaning up SVG files should be supported by mat2.
Thanks for your work!