Skip to content

All path separators needs to be normalized to forward slash #48

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

Closed
SteveL-MSFT opened this issue Nov 15, 2017 · 1 comment
Closed

All path separators needs to be normalized to forward slash #48

SteveL-MSFT opened this issue Nov 15, 2017 · 1 comment

Comments

@SteveL-MSFT
Copy link
Member

Even on Windows, the archive contents should only use forward slash as directory separator otherwise it causes problems on non-Windows systems where backslash is a valid character in a filename.

According to the Zip file spec section 4.4.17.1, the path MUST only use forward slashes

@anmenaga
Copy link

Fixed in module version 1.2.3.0
Install-Module Microsoft.PowerShell.Archive -MinimumVersion 1.2.3.0 -Repository PSGallery -Force

3b added a commit to 3b/zip that referenced this issue Dec 13, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants