diff options
author | David Oberhollenzer <david.oberhollenzer@sigma-star.at> | 2020-12-29 12:10:46 +0100 |
---|---|---|
committer | David Oberhollenzer <david.oberhollenzer@sigma-star.at> | 2020-12-29 12:10:46 +0100 |
commit | 0e3bb2104a8e3fd07e201e6ba99f8d017fdc72a8 (patch) | |
tree | 1a494a001339a86f418c4dc96be85202c457ee25 /bin/sqfs2tar | |
parent | 06a8c73c53a78c84d736ee7176522ed21a501ab4 (diff) |
Fix normalization of slashes in filenames
All paths were canonicalized internally, which includes filtering
sequences of slashes and converting backslashes to slashes.
Furthermore, when unpacking files, filenames are sanity checked
and rejected if they contain forward OR backward slashes.
This is a problem on Unix-like systems, where files containing
backslashes are a legitimate use case (*cough* SystemD *cough*).
This patch removes the backslash conversion from the canonicalization
and modifies the sanity check to reject backslashes only on Windows.
Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
Diffstat (limited to 'bin/sqfs2tar')
0 files changed, 0 insertions, 0 deletions