webircgateway doesn't send ircd password correctly if the password contains a '#' character
Gond0r opened this issue · 1 comments
Gond0r commented
If the ircd password is 'abc#def', webircgateway sends the password as 'abc'
Escaping # with a backslash in webircgateway config doesn't work. 'abc\#def' will be sent to ircd as 'abc\'
It looks like that webircgateway considers any # character as a comment even if it is in the middle of the line or between quotes, while it should only do that if # character is at the beginning of the line.
I am using unrealircd, webircgateway compiled from master branch.
Thank you
Gond0r commented
I can confirm that using triple quotes fixes that issue