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
expand_prompt renders the E400 escape pair for a stored U+E314 value instead of the raw char #3038
Actual: "<\u{E400}\u{E314}>" — the E400 literal-char escape pair survives into the rendered prompt.
Expected
"<\u{E314}>" — the raw char. GNU has no E400 concept and renders the stored char as-is; and the same prompt path already decodes the E401 guard for TAB (sweep open Q1, captain-verified PASS on master e8f1bb04: tab=$'A\tB' renders as a real TAB, no E401 leak). The E314 guard must decode the same way.
The E400-pair decoder used by Session::expand_prompt covers the ANSI_C_IFS_GUARD (U+E401) but not PARAM_WORD_BACKSLASH_GUARD (U+E314). Contrast with #3016 (E316 folds to a backslash in assignment-concat) — same E400-pair family, different site and guard; not the same fix.
Destination
1.5.1 (rubash #2885 E6 follow-up; fix lane to be dispatched).
Activity
fix(prompt): fold E400 literal-char pairs in the prompt transport dec…
caomengxuan666 commentedon Nov 8, 2026
已由 PR #3072 合入 master(squash merge
1d5be81f)。根因(订正立案时的疑似面):不是解码器漏覆盖——
decode_raw_byte_markers无条件折叠 E400 对;真缺陷是decode_prompt_transport的存在性门只查 U+E000 原始字节族,展开结果只携带 E400 对时门不开、整对漏进渲染(折不折取决于同一提示串里是否有无关的原始字节对在场)。修法按机制修门:markers::contains_decodable_transport双族存在性门,漏斗改走该门,解码器本体零改动;同漏斗的 PS4 与 read -p 通道同根同修。GNU 锚点 parse.y:6265/6689、parse.y:5694-5706、subst.c:4692。队长复核(真基底
4984ce5c):marker_leak_golden头 20/0;fail-first(基底 + 仅钉文件)19p/1f,唯一败格prompts_via_public_api_carry_no_markers,left"<\u{e400}\u{e314}>"与本单逐字一致;$pua 钉已改回正确断言并新增门独立性混合腿RUSTFLAGS="-D warnings"/ fmt / hygiene / CR 全净;marker-lint OK(117 consts / 257 sites)3c ee 8c 94 3e 0a;合入头1afb1186的 CI 全集 10 pass + 1 skippingfix(completion): ctrl-byte filenames survive field split and emulated…
Refs #3104: fold raw-byte (E000) pairs at name-consumption boundaries (…