Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

backslashes (\) on windows should be converted to forwardslashes (/) #438

Closed
DetachHead opened this issue Jan 5, 2023 · 2 comments · Fixed by #493
Closed

backslashes (\) on windows should be converted to forwardslashes (/) #438

DetachHead opened this issue Jan 5, 2023 · 2 comments · Fixed by #493
Labels

Comments

@DetachHead
Copy link

zip.addFile('foo\\bar.txt')
zip.writeZip('foo.zip')

extracting the zip file on windows creates a folder called foo with bar.txt in it. however on linux, the \ is part of the filename, so it just creates a file called foo\bar.txt

@5saviahv 5saviahv linked a pull request Jun 1, 2024 that will close this issue
@robsonsobral
Copy link

robsonsobral commented Jun 28, 2024

Hi!

Is this fix already deployed? I'm using version 0.5.14 and the bug is still present.

Thank you!

@5saviahv
Copy link
Collaborator

no, I think it is even worse in 0.5.14 and windows due to lack of windows testing from my side (#497 issue). It is fixed in repo but it is not released yet.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants