Open slingamn opened 3 years ago
I think 'invalid' in terms of oper vhosts should really just check for protocol-breaking characters and junk like @& etc
- the 'host' part of nuh doesn't contain properly-formatted hostnames and hasn't for a long while now, and allowing flexibility when it comes to how opers show themselves on the network is alright I reckon (I think this issue came out of spaces being allowed, which like, yeah breaks absolutely everything oh no).
Discussed, we will just check the protocolBreakingNameCharacters
(,*?.!@:
)
@mogad0n points out accurately that .
is not protocol-breaking in a hostname!
@mogad0n reported that you can set an invalid operator vhost. This should be rejected during config validation.