ircv3 / ircv3-ideas

46 stars 3 forks source link

Allow spaces in NETWORK ISUPPORT #81

Closed emersion closed 2 years ago

emersion commented 2 years ago

The NETWORK ISUPPORT token allows servers to advertise their name. However spaces aren't allowed, sometimes this forces servers to pick an awkward name (e.g. with CamelCase or hyphens).

It would be nice to allow using \s to include spaces in the NETWORK (same escaping as message tags).

jesopo commented 2 years ago

ISUPPORT already supports hex escapes. use \x20 for this

emersion commented 2 years ago

Oh, nice, didn't know. Is there a reference on this? I didn't find it in modern.ircdocs.horse.

jesopo commented 2 years ago

https://datatracker.ietf.org/doc/html/draft-brocklesby-irc-isupport-03 ctrl+f \x

emersion commented 2 years ago

Thanks!

https://datatracker.ietf.org/doc/html/draft-brocklesby-irc-isupport-03#page-5

emersion commented 2 years ago

Also ref https://github.com/ircdocs/modern-irc/pull/137