This results in subdir1/drawing.svg being inserted twice, which isn't right...
Looking at the svg-inkscape directory, it's clear that only the file name is being used as a cache key, leading to incorrect results when files by the same name appear in different directories.
In this case, it was easy enough for me to rename one of the files, but it would be good if the cache mechanism could be adjusted to make the entire path part of the key (by hashing it for instance, e.g. 3a406d0e_drawing_svg-raw.pdf instead of drawing_svg-raw.pdf).
I'm using SVG v2.02, and I've just run into a bug where I'm doing the following:
This results in
subdir1/drawing.svg
being inserted twice, which isn't right...Looking at the
svg-inkscape
directory, it's clear that only the file name is being used as a cache key, leading to incorrect results when files by the same name appear in different directories.In this case, it was easy enough for me to rename one of the files, but it would be good if the cache mechanism could be adjusted to make the entire path part of the key (by hashing it for instance, e.g.
3a406d0e_drawing_svg-raw.pdf
instead ofdrawing_svg-raw.pdf
).