Closed
Description
A bug was introduced on version 0.5.13
which affect reading files inside folders. I only tested the methods getEntries()
and readFileAsync()
(which uses getEntry()
), but I suppose this bug does not affect only these two. Here are some test cases:
Whether I test on v0.5.12
or v0.5.13
:
-
For an archive created with
v0.5.12
getEntries()
-> returns root files + files in folder, withentryName
as:folder/file.jpg
getEntry()
-> works as expected
-
For an archive created with
v0.5.13
getEntries()
-> returns root files + files in folder, withentryName
as:folder\\file.jpg
getEntry()
-> returns an error (viareadFileAsync()
):getEntry failed for:folder/file.jpg
Additionnaly, I can see that for both archives all the files and folders are here and with the correct names. Extracting all works as expected.
Something messing up the paths?
--
Versions:
- Node v20.9.0
- Windows 10
Metadata
Metadata
Assignees
Labels
No labels