Skip to content

fix(cli): escape caller text before printing it - #20

Merged
oritwoen merged 1 commit into
mainfrom
fix/cli-output-escaping
Aug 27, 2026
Merged

fix(cli): escape caller text before printing it#20
oritwoen merged 1 commit into
mainfrom
fix/cli-output-escaping

Conversation

@aeitwoen

Copy link
Copy Markdown
Contributor

#18 hardened the tool surfaces and left the CLI printing caller text raw. An address with a newline and an ANSI escape writes its own green Valid Bitcoin address line under the error, which is a mean thing to show someone about to send funds. chains list --type and the unresolved-chain message leak the same way.

@aeitwoen
aeitwoen requested a review from oritwoen as a code owner August 27, 2026 16:07
@aeitwoen aeitwoen self-assigned this Aug 27, 2026
@oritwoen
oritwoen merged commit c57918a into main Aug 27, 2026
3 checks passed
@oritwoen
oritwoen deleted the fix/cli-output-escaping branch August 27, 2026 16:11
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.

2 participants