Skip to content

Conversation

@addaleax
Copy link
Collaborator

Escape control characters in output strings if there's a reasonable chance that their are (partially) coming from the server side, instead of printing them directly. We keep printing them directly when it's reasonably possible that they are being used intentionally for output control, e.g. when coming from print() or console.log() statements.

MONGOSH-1910

Escape control characters in output strings if there's a reasonable chance that
their are (partially) coming from the server side, instead of printing them directly.
We keep printing them directly when it's reasonably possible that they are being used
intentionally for output control, e.g. when coming from `print()` or `console.log()`
statements.
@addaleax addaleax merged commit 9e7d980 into main Jan 28, 2025
135 checks passed
@addaleax addaleax deleted the 1910-dev branch January 28, 2025 13:42
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