Merge "Quote username and password in login command" into jb-ub-mail
This commit is contained in:
commit
ec0af7822c
|
@ -1689,7 +1689,7 @@ public class Imap2SyncService extends AbstractSyncService {
|
|||
}
|
||||
|
||||
tag = writeCommand(writer,
|
||||
"login " + hostAuth.mLogin + ' ' + hostAuth.mPassword);
|
||||
"login \"" + hostAuth.mLogin + "\" \"" + hostAuth.mPassword + "\"");
|
||||
if (!IMAP_OK.equals(readResponse(reader, tag))) {
|
||||
// Fine if the alert is null
|
||||
conn.reason = getAlert();
|
||||
|
|
Loading…
Reference in New Issue