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

feat: improve detection of non-UTF-8 file names #1404

Merged
merged 1 commit into from
Dec 5, 2022

Conversation

rdeltour
Copy link
Member

@rdeltour rdeltour commented Dec 2, 2022

  • explicitly read ZIP archives as UTF-8 encoded
  • report a (new) fatal error PKG-027 when the a zip could not be read due to encoding issues (detected by matching the exception message)
  • add tests

Fixes #1236

- explicitly read ZIP archives as UTF-8 encoded
- report a (new) fatal error PKG-027 when the a zip could not be read
  due to encoding issues (detected by matching the exception message)
- add tests

Fixes #1236
@rdeltour rdeltour added this to the v5.0.0-beta milestone Dec 2, 2022
@rdeltour rdeltour requested a review from mattgarrish December 2, 2022 10:54
@rdeltour rdeltour self-assigned this Dec 2, 2022
Base automatically changed from fix/deduplicate-fatal-xml-parsing-errors to release/v5.0.0 December 5, 2022 13:09
@rdeltour rdeltour merged commit 5248914 into release/v5.0.0 Dec 5, 2022
@rdeltour rdeltour deleted the feat/utf8-filename-check branch December 5, 2022 13:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants