fix(artifacts): preserve raw directory name identity

Fixes #6665
This commit is contained in:
morluto committed 2026-10-23 21:28:10 +08:00
1 parent bdf13a63c4
commit 47900f99c5
5 files changed
+95 -15

No files matched your search

@@ -513,6 +513,11 @@ inventory digest before parsing, and malformed ASAR operations return typed
format diagnostics that retain the local container path. Native add-ons are
represented by metadata only.
POSIX directory names are read as raw bytes and admitted as logical paths only
when they round-trip through UTF-8. Invalid names are left untouched, retained
siblings remain inventoried, and traversal coverage is marked unknown with the
first rejected basename bytes identified in hexadecimal.
## Bounds and coverage
The reconstruction keeps internal resource safeguards for artifact entries,