Skip to content

Allow SGR ANSI control sequences#1697

Merged
pazz merged 1 commit intopazz:masterfrom
lfos:allow-sgr-sequences
Jul 30, 2025
Merged

Allow SGR ANSI control sequences#1697
pazz merged 1 commit intopazz:masterfrom
lfos:allow-sgr-sequences

Conversation

@lfos
Copy link
Contributor

@lfos lfos commented Jul 30, 2025

Keep ANSI escape sequences used for coloring and font formatting in the message body, while removing potentially dangerous sequences that may be used for escape sequence attacks.

Fixes issue #1679.

Keep ANSI escape sequences used for coloring and font formatting in the
message body, while removing potentially dangerous sequences that may be
used for escape sequence attacks.

Fixes issue pazz#1679.
@lfos lfos force-pushed the allow-sgr-sequences branch from 550fe87 to e9ab03c Compare July 30, 2025 19:13
@pazz pazz self-requested a review July 30, 2025 19:46
Copy link
Owner

@pazz pazz left a comment

Choose a reason for hiding this comment

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

looks like a good and safe compromise to me. Thanks!

@pazz pazz merged commit ef6da20 into pazz:master Jul 30, 2025
14 checks passed
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.

3 participants