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

Replace invalid characters when extracting ZIP #2275

Merged
merged 1 commit into from Apr 6, 2024

Conversation

TheKodeToad
Copy link
Member

@TheKodeToad TheKodeToad commented Apr 5, 2024

This mimics CurseForge app's behaviour
Fixes #564
(The pack in that issue was actually had bad filename encoding so the pack will have - instead of §, unfortunately i don't think there's a way around this)

Maybe Linux also needs characters replacing? Is it possible for a zip filename to contain a null byte?

@TheKodeToad TheKodeToad added the bug Something isn't working label Apr 5, 2024
@TheKodeToad TheKodeToad added this to the 8.3 milestone Apr 5, 2024
Signed-off-by: TheKodeToad <TheKodeToad@proton.me>
@timoreo22 timoreo22 added backport release-8.x Backport PR automatically simple change changelog:fixed A PR that appears under "Fixed" in the changelog labels Apr 6, 2024
@timoreo22 timoreo22 merged commit 363273a into PrismLauncher:develop Apr 6, 2024
34 checks passed
Copy link
Contributor

github-actions bot commented Apr 6, 2024

Successfully created backport PR for release-8.x:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport release-8.x Backport PR automatically bug Something isn't working changelog:fixed A PR that appears under "Fixed" in the changelog simple change
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Modpack Import/Extract fails when pack has illegal characters in resource pack name
3 participants