You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[bug] applets fail on literal-colon operands: canon layer does not carrier-encode operand path components #1874
[bug] applets fail on literal-colon operands: canon layer does not carrier-encode operand path components
Found by the rubash #4188 verification lane on a real Windows host (devin-windows, Windows Server 2022), against the published v1.2.3 binaries; split from rubash #4188, whose shell-side half is fixed separately.
Shapes (bundled ls.exe driven directly, tree on disk carries the MSYS-standard encoded name x+U+F03A+y/z):
ls x:y/z (relative literal) — fails
ls ./x:y/z — fails
ls C:\…\x:y\z (native absolute literal) — fails
The same three shapes spelled with the U+F03A character — all pass
So the applet canon layer (prepare_operand and friends) passes literal colon components through to the Win32 layer, which cannot address them; the carrier encoding that the shell side (rubash funnel, per-component since the #4188 fix) and MSYS both apply is missing on this side. Inside niu this surfaces as: by-name relative ls x:y/z still rc=2 even with the shell funnel fixed, while every shell-internal consumer works.
Expected: operand paths are carrier-encoded per component at the canon entry (drive indicator exempt), matching the cross-repo contract — the same entry the #1870 anchoring fix touches, so the two may share one mechanism; the captain will rule the bundling when the #1870 lane reports.
Acceptance: the three literal shapes above pass for ls plus a spot family (stat/cat), encoded spellings keep working, and no regression on plain operands.
Closed by #1876 (captain-verified above): both carrier folds now encode per component with the drive indicator as the only exemption, the full-consumer regression differential is clean, and the niu-side face that exposed this (by-name relative ls x:y/z) is verified green on a real host. With this, the colon-path family that started at niubash #1101 — rubash #4188, WinuxCmd #1870 and this issue — is fully closed.
Activity
fix(path): fold carrier colons per component in both fold twins (#1874)
Merge pull request #1876 from unixwin/fix/1874-fold-carrier-components
caomengxuan666 commentedon Nov 25, 2026
Closed by #1876 (captain-verified above): both carrier folds now encode per component with the drive indicator as the only exemption, the full-consumer regression differential is clean, and the niu-side face that exposed this (by-name relative
ls x:y/z) is verified green on a real host. With this, the colon-path family that started at niubash #1101 — rubash #4188, WinuxCmd #1870 and this issue — is fully closed.test: pin unixwin#1874 per-component carrier-colon operand shapes
rust2(port+wire): cat -> rust2 library + bridge (#1488) (#1882)
rust2(port+wire): uniq -> rust2 library + bridge (#1488) (#1877)