Subject: | Usernames containing backslashes cause authentication to fail |
When a username contains a backslash, it sometimes triggers the credentials to be sent on a separate line, but it does it wrong such that it never works.
For example, instead of the usual:
1 LOGIN TEST\user pass1!
the backslash causes this behavior:
1 LOGIN {9}
TEST\user pass1!
but that's broken; instead we should send:
1 LOGIN {9}
TEST\user {6}
pass1!