Skip to content

fix: encode raw bytes in bundle locators - #316

Merged
HaoZeke merged 1 commit into
developfrom
fix/offline-locator-bytes
Nov 27, 2026
Merged

HaoZeke merged 1 commit into
developfrom
fix/offline-locator-bytes

Conversation

@HaoZeke

@HaoZeke HaoZeke commented Nov 27, 2026

Copy link
Copy Markdown
Contributor

fix: encode raw bytes in bundle locators

offline::write now percent-encodes each relative path from its
raw bytes. It used Path::to_string_lossy before, which turned a
non-UTF-8 directory byte into the Unicode replacement character,
so the locator named the wrong path.

`offline::write` now percent-encodes each relative path from its
raw bytes. It used `Path::to_string_lossy` before, which turned a
non-UTF-8 directory byte into the Unicode replacement character,
so the locator named the wrong path.
@HaoZeke
HaoZeke merged commit 9cbd903 into develop Nov 27, 2026
8 checks passed
@HaoZeke
HaoZeke deleted the fix/offline-locator-bytes branch November 27, 2026 06:37
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.

1 participant