Files with ".." segments are not handled properly
After reading of libarchive write disk API, I am convinced that after extracting a file with e.g. foo/../bar
path, the foo
folder should be created as a side-effect, but it is not currently. Not creating an extra folder is not probably a big issue, but probably good to know. Also the final path for symlink/../bar
is just bar
which is not right as the symlink should be expanded first (see file-roller#108 (comment 1037485)). However, this is also not a big deal probably as I am convinced that symlinks in parents are only in case of malformed, or malicious archives.