Commit graph

2 commits

Author SHA1 Message Date
John Regan
3f65099910
Name change: better unicode handling (#3164)
* Name change: better unicode handling

Client-side:

* Changes the NameChangeModal to show text "Over limit" when a proposed display
name is too long.

* Allows names to go over limit to prevent splitting graphemes on input.

Server-side:

* Changes the MakeSafeStringOfLength to count number of unicode code points
instead of string bytes.

* name modal: check that newName is defined before iterating
2023-07-11 10:44:09 -07:00
Gabe Kangas
0c03773c4c
Sanitize+truncate display names on registration+change. For #2527 2022-12-29 14:13:22 -08:00