Skip to content

[CS] A funny bug with a colored nickname #3950

@Splatt581

Description

@Splatt581

A player can make a colored nickname by using the control characters 0x01, 0x03, and 0x04 in the sended nickname string:

Image

Using this nickname, you can also colorize the rest of the message string:

Image

This bug appeared with the addition of UTF-8 support to the engine in 2013. To fix this bug, I believe a check for control characters in userinfo should be added to the Info_SetValueForStarKey and Info_IsValid functions.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions