Merge "Quote username and password in login command" into jb-ub-mail

This commit is contained in:
Marc Blank 2012-09-20 11:13:28 -07:00 committed by Android (Google) Code Review
commit ec0af7822c
1 changed files with 1 additions and 1 deletions

View File

@ -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();