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

Warn about client-command-looking nicknames

Open emersion opened this issue 2 years ago • 1 comments

Recommend servers to reject nicknames such as /quit, in the section about nickname string restrictions.

The protocol doesn't require it, but accepting nicknames starting with a / would be dangerous for most IRC clients, as autocomplete features could result in commands being executed.

emersion avatar Mar 03 '23 11:03 emersion

This is where that should be added. Might also be good to prevent a nickname from beginning with a prefix mode character to avoid issues with parsing prefixes with multi-prefix.

SadieCat avatar Mar 03 '23 15:03 SadieCat