Ansi colour markup - what encoding or mime type

Petite Abeille petite.abeille at gmail.com
Fri Jul 10 17:30:02 BST 2020



> On Jul 10, 2020, at 18:03, colecmac at protonmail.com wrote:
> 
> Above all, just don't expect clients to render it properly. Some
> will and some won't.

Furthermore, avoid any terminal based client which merely dump raw ANSI escape codes at you. Like in many aspects of life, sanitization it key.

For example:
git: client prints server-sent ANSI escape codes to the terminal, allowing for unverified messages to potentially execute arbitrary commands
https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2018-1000021
https://public-inbox.org/git/20180205204312.GB104086@aiede.svl.corp.google.com/





More information about the Gemini mailing list