Feature #217
refuse malformed player names
| Status: | Closed | Start: | 24/03/2009 | |
|---|---|---|---|---|
| Priority: | Normal | Due date: | ||
| Assigned to: | % Done: | 100% |
||
| Category: | Core | Spent time: | 1.00 hour | |
| Target version: | 0.29 |
Description
Malformed player names (unterminated color string) should not be accepted by the server.
The reason for this is that the client has no way to tell which part of the line is someone's possibly wrongly colored name. So when server sends demolist or lastscores list or any other text where players' names are being displayed, there's no way to determine on the client side which part is missing colored text terminator (&cfff).
Another option is to force &cfff at the end of every malformed name. But seeing the amount of places where colored names cause troubles nowadays (not only in client - QTV, the stats site, log parser) I'm rather for disabling this possibility completely.
History
Updated by Renzo over 1 year ago
- Category set to Core
- Assigned to set to qqshka
- Target version set to 0.29
Disallow/block nicks starting/having &c color codes.
Updated by JohnNy_cz over 1 year ago
Disregard the last sentence of the original post, I was refering to the possibility to completely disallow colored nicks but I mixed it with something else.
Updated by Renzo over 1 year ago
- Status changed from New to Closed
- % Done changed from 0 to 100
r883 closes this one.