]> git.deb.at Git - rhonda/impostor.git/commit
Partial revert of cc8d5d2: Readd length check
authorminiduikboot <mini@duikbo.at>
Thu, 27 Jan 2022 17:24:02 +0000 (18:24 +0100)
committerminiduikboot <mini@duikbo.at>
Thu, 27 Jan 2022 17:24:02 +0000 (18:24 +0100)
commit3f374da44bbd8708513724bbaaff1a45956e830e
tree00a046f867f8a225339961c3389775ef3dadb8f1
parentcc8d5d2a45c8e02b6c7b9c0f8c1afa9aca2732ae
Partial revert of cc8d5d2: Readd length check

Oversized nicknames can cause bigger issues, so it is desireable to
still block them. .Length counts codepoints, not bytes, which means
that 10 character Japanese nicknames, which are configurable ingame,
should still be allowed.
src/Impostor.Server/Net/Manager/ClientManager.cs