-
Notifications
You must be signed in to change notification settings - Fork 480
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
ArchiveEntry.Key is dependent on the archivetype #201
Comments
It seems likely there's a bug in creating where I hardcoded the path separator. I'm not sure I should use he OS's separator or always pick one. The archive specs may have one specifically. I'll have to look it up. |
You've got a hardcoded path separator issue in your RAR extractor Dumping the switch statement in favour of this ought to fix it:
RAR always wants a \ as it's path separator. |
I'll look into this soon. I was thinking archive formats want something specific and SharpCompress will have to adjust it one top of the formats like you're saying. |
Finally made a PR for this #238 |
Hi,
When I run the following code the directory seperator in the IArchiveEntry.Key is different for different archive types.
Output for a .rar file:
output for a .zip file
Is this by design or a bug? Both archives are created on the same computer.
The text was updated successfully, but these errors were encountered: