As reported in D715, if a lobby user adds a [ character to the nickname, the GUI will break completely when trying to parse that as a tag.
User input in tthe lobby should always be escaped.
The 256 character limitation from rP8494 is not used anywhere and bad because many strings (pathnames) can be longer legitimately.
If there was a reason to limit, then the caller should decide.