sanitize peer chat/control/bidi before store and TUI render #21
Loading…
Reference in a new issue
No description provided.
Delete branch "wt/t_6ddd495e"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
safe_namerejects the same control/bidi set (including tab/newline).Policy
display_text: lossy UTF-8, then strip the set above except\t/\n.is_control_or_bidi(filenames): same set including tab/newline.Tests
cargo test --lockedgreen (sanitize 9/9; file bidi/controls rejected).cargo clippy --locked --all-targets -- -D warningsgreen.Do not merge; leaving for review.