Closed Teteros closed 6 years ago
Meta: I changed this from bug to enhancement because currently there is no code to try to handle this (that could be buggy) so this is technically an enhancement.
I believe we'll want to convert all \
to /
before writing (and creating directories) because Windows will internally convert /
to \
while *nixes expect /
as path separators.
The above fix can be applied by calling str::replace
on all entry paths/names before unpacking.
This was fixed in 3035d194c3416089ff00bdb287174cffc78e8ca0.
Please re-open this ticket if you are able to reproduce this after the above commit.
BIG archives made on Windows currently do not retain directory trees on Unix-like machines. Backslashes
\
are not converted to directories/
(on e.g. linux) essentially.Test case:
On Windows
On Linux
Expected:
foo/bar
i.e.
bar
in folder calledfoo
The opposite works however
BIG
archives created on Linux witheasage pack
will extract on Windows machines with folder paths respected.foo.big
with\
paths attached below(wrapped in .zip due to github attachment support) foo.big.zip