Skip to content

Sanitize error messages for terminal#221

Merged
valentinewallace merged 1 commit into
lightningdevkit:mainfrom
benthecarman:santize-server-err-msgs
May 26, 2026
Merged

Sanitize error messages for terminal#221
valentinewallace merged 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.

Copy link
Copy Markdown

@lorenzolfm lorenzolfm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ACK 4eabaf5

@ldk-reviews-bot
Copy link
Copy Markdown

🔔 1st Reminder

Hey @valentinewallace! This PR has been waiting for your review.
Please take a look when you have a chance. If you're unable to review, please let us know so we can find another reviewer.

@valentinewallace valentinewallace merged commit 1e9e9ba into lightningdevkit:main May 26, 2026
10 checks passed
@benthecarman benthecarman deleted the santize-server-err-msgs branch May 27, 2026 00:35
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.

4 participants