Skip to content

fix: escape control characters in error messages - #2120

Open
curious-rabbit wants to merge 1 commit into
sharkdp:masterfrom
curious-rabbit:master
Open

fix: escape control characters in error messages#2120
curious-rabbit wants to merge 1 commit into
sharkdp:masterfrom
curious-rabbit:master

Conversation

@curious-rabbit

Copy link
Copy Markdown

Fixes #2119

@tmccombs tmccombs left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Would it be better to just always allow newlines?

Newlines aren't dangerous in the sense of sending control commands to the terminal. Although then can potentially be confusing.

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.

[BUG] Sanitize gap for error messages

2 participants