Skip to content

Support Windows-style ZIP member names - #63

Merged
nlbdotdev merged 1 commit into
mainfrom
fix/windows-zip-members
Oct 14, 2026
Merged

nlbdotdev merged 1 commit into
mainfrom
fix/windows-zip-members

Conversation

@nlbdotdev

Copy link
Copy Markdown
Owner

Upstream ZIPs with Windows-style member separators currently fail source mapping and native reconstruction. Normalize separators through the existing ZIP reader before path and collision validation, using the same policy for preflight and extraction. Native .loadstone package entries and recipe paths retain strict canonical naming.

Validation: 196 local tests passed with one optional skip; Svelte check has zero errors/warnings. The new regression failed before the change, covers mixed separators and Unicode, rejects 18 unsafe/ambiguous layouts before destination creation, and confirms native packages remain strict. An additional real Electron test acquires a synthetic Windows-style ZIP and reconstructs verified outputs through the bridge. Original inputs remain unchanged. Formatting and git diff --check pass.

@nlbdotdev
nlbdotdev merged commit ee0522f into main Oct 14, 2026
1 check passed
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