You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When attempting to connect to freenode, if the realname configuration is set to an empty string, freenode responds that USER does not have enough parameters. This is regardless of whether you are registered or SASL authentication succeeded.
I couldn't find whether this is invalid in the specification; it only calls out that names can contain spaces.
In addition to the nickname, all servers must have the following information about all clients: The real name/address of the host that the client is connecting from, the username of the client on that host, and the server to which the client is connected.
Thanks for reporting. I also can't see whether realname can be empty, but apparently not. Unfortunately IRC is very poorly specified so often the answer to such questions is "whatever widely used servers do".
We also don't check for empty nicks. I guess we could add some validation to the config after parsing.
https://en.wikipedia.org/wiki/List_of_Internet_Relay_Chat_commands#USER
When attempting to connect to freenode, if the
realname
configuration is set to an empty string, freenode responds that USER does not have enough parameters. This is regardless of whether you are registered or SASL authentication succeeded.I couldn't find whether this is invalid in the specification; it only calls out that names can contain spaces.
https://tools.ietf.org/html/rfc2812#section-3.1.3
tiny/crates/libtiny_wire/src/lib.rs
Lines 24 to 26 in b61efc8
The text was updated successfully, but these errors were encountered: