Option to disable embedding path in SVG attributes
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Inkscape |
New
|
Undecided
|
Unassigned |
Bug Description
Currently, Inkscape will embed directory paths into the SVG file. For example, when saving a file, Inkscape sets the "sodipodi:docbase" attribute to the full directory path where the file was saved. Likewise, when using "Export Bitmap", Inkscape sets the "inkscape:
While this behavior is often convenient, I would like a way to disable it sometimes, for privacy/security reasons. For example, if I want to offer an SVG file to download from my web site, the whole world would be able to learn 1) what my unix user name is, and 2) somewhat of how I arrange my directories. This is also a problem when emailing or committing a SVG file to a version control repository.
Even if you remove these attributes from the SVG file manually, they will be recreated the next time you save the file / export a bitmap. That means you have to remember to remove them manually every time you want to distribute a new version, which is inconvenient and increases the likelihood that a mistake will be made.
My proposed solution to this would be to have a per-document boolean attribute to control whether these paths are saved in the document or not. Also, for convenience, have a global preference to choose the default (save / don't save), which would be inherited at the time new documents are created.
I'm also a fan of this idea. And for precisely the same reason... distribution and privacy/security.