-
Notifications
You must be signed in to change notification settings - Fork 263
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 in released zip archives paths #3559
Comments
Might this be cause by using an too old version of Powershell, see PowerShell/Microsoft.PowerShell.Archive#48 ? |
Yes.
Don't use Powershell then. Use Zip, like Info-ZIP. |
Thanks for checking! What version did you use here? |
As can be seen in modification time v0.11.0 from 09-13-2024. |
Ah, I meant "what version of PowerShell?" |
I don't use Powershell. In Linux? And what it has to do with me? You, I mean a in a repo, produce this file. I only point out its problems, problems that user/s have - when unpacking this archive can produce files with backslashes in names. I can only assume that these backslashes meant to be path separators, but they're not. |
Sorry for the confusion! I didn't read carefully enough. In any case, I investigated the problem, and the root cause is an older of |
Zip (InfoZip) would be just fine. Actually it was 7zip having trouble with that zip file. InfoZip warned about the problem but unpacked it correctly, I mean with 'intended' paths. |
Describe the bug
In relased zip archives tgere are backslashes in paths. Zip uses forward slash as path separator.
It's a problem add not all un/zip clients assume
\
to be a/
.To Reproduce
Get the released archives and see the path names, like
cmake\hwy\hwy-config-release.cmake
.Expected behavior
To use forward slashed as path separator in zips.
Environment
Additional context
specification is clear about that:
The text was updated successfully, but these errors were encountered: