modern-irc icon indicating copy to clipboard operation
modern-irc copied to clipboard

Define format for usernames

Open jwodder opened this issue 2 years ago • 0 comments

Currently, the only requirements for valid usernames in this spec are given at https://modern.ircdocs.horse/#user-message, where minimum & maximum lengths are discussed, but information on what characters are allowed in usernames is still lacking.

Obviously, in order for usernames to be sent as the first parameter of a USER command, they must be nonempty, must not contain NUL, CR, LF, or space, and must not begin with a colon.

Presumably, usernames cannot contain @, as otherwise there would be issues with separating the user component from the host component in a source prefix.

Previous specifications:

jwodder avatar Nov 26 '23 19:11 jwodder