Skip to content

Resolve "ANSI colour reset code \x1B[00m does not work"

Matthew Astley requested to merge mcast/gitlab:262028-ansi-00m-reset into master

What does this MR do?

Small test+fix changes to ansi2html to fix #262028 (closed).

  • I haven't looked at ansi2json, I suspect equivalent bugs in there but not sure where it runs.
  • MR targets master by default, it's not immediately obvious whether this is right for your workflow.

Screenshots

Does this MR meet the acceptance criteria?

Conformity

(probably not, it is only one step up from a drive-by bug report)

Availability and Testing

Security

If this MR contains changes to processing or storing of credentials or tokens, authorization and authentication methods and other items described in the security review guidelines:

  • Label as security and @ mention @gitlab-com/gl-security/appsec
  • The MR includes necessary changes to maintain consistency between UI, API, email, or other methods
  • Security reports checked/validated by a reviewer from the AppSec team

Closes #262028 (closed)

Merge request reports