Using the IMAP plugin for auth returns invalid login when the user's password contains certain special characters (spaces, {}, ", ') which are valid password characters.
From what I can tell, the password is grabbed and sent unescaped to the IMAP server here.
Using the IMAP plugin for auth returns invalid login when the user's password contains certain special characters (spaces, `{}`, `"`, `'`) which are valid password characters.
From what I can tell, the password is grabbed and sent unescaped to the IMAP server [here](https://github.com/znc/znc/blob/znc-1.7.4/modules/imapauth.cpp#L143).
<!-- github-sync-id:492983699 -->
I happened to stumble upon this bug the other day too. Tools like pass make sure I get all sorts of characters making it easy to fail login.
I happened to stumble upon this bug the other day too. Tools like `pass` make sure I get all sorts of characters making it easy to fail login.
<!-- github-comment-id:637959811 -->
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Using the IMAP plugin for auth returns invalid login when the user's password contains certain special characters (spaces,
{},",') which are valid password characters.From what I can tell, the password is grabbed and sent unescaped to the IMAP server here.
I happened to stumble upon this bug the other day too. Tools like
passmake sure I get all sorts of characters making it easy to fail login.