-
-
Notifications
You must be signed in to change notification settings - Fork 18
Open
Description
We have a minimal number of characters in displayname checks, but the problem is, that it considers invisible characters as meaningful data too. It should not.
I suggest we remove all invisible characters from displayname before checking its length. This way, only visible characters would be considered and we would not end in situation when user specifies 3 invisible characters and gets an empty displayname as the result.
see https://stackoverflow.com/questions/11598786/how-to-replace-non-printable-unicode-characters-javascript for some inspiration.
clbn