]> jfr.im git - solanum.git/commit
authd: substitute * if rewritten user is empty
authorEd Kellett <redacted>
Sat, 29 May 2021 15:47:17 +0000 (16:47 +0100)
committerEd Kellett <redacted>
Tue, 8 Jun 2021 21:09:47 +0000 (22:09 +0100)
commit396edc6fbd06578b082b92d18c0d19ae319c992e
treef95ad4ac87a36b5b2e903d5d5348dd1004da12b5
parent888d20da6d178e734ad5a2f938dc4f6966927feb
authd: substitute * if rewritten user is empty

We remove characters like ^ and ~ from the ident string after checking
if it's valid. If it consisted entirely of those, we'd try to send an
empty string to ircd, which would break the protocol, so don't let that
happen.
authd/providers/ident.c