Skip to content
This repository has been archived by the owner on Jul 18, 2024. It is now read-only.

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

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
Collaborator

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 subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants