Skip to content

Sanitize error messages for terminal#221

Open
benthecarman wants to merge 1 commit into
lightningdevkit:mainfrom
benthecarman:santize-server-err-msgs
Open

Sanitize error messages for terminal#221
benthecarman wants to merge 1 commit into
lightningdevkit:mainfrom
benthecarman:santize-server-err-msgs

Conversation

@benthecarman
Copy link
Copy Markdown
Collaborator

We call sanitize_for_terminal on the output for successful responses but not on error outputs. We now call it on errors to protect about potentially malicous error messages that could try to manipulate the terminal output.

We call `sanitize_for_terminal` on the output for successful responses
but not on error outputs. We now call it on errors to protect about
potentially malicous error messages that could try to manipulate the
terminal output.
@ldk-reviews-bot
Copy link
Copy Markdown

ldk-reviews-bot commented May 23, 2026

I've assigned @valentinewallace as a reviewer!
I'll wait for their review and will help manage the review process.
Once they submit their review, I'll check if a second reviewer would be helpful.

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