Fix PLAIN authentication for some IMAP servers (#1488674)

pull/31/head
Aleksander Machniak 12 years ago
parent 3458439ad0
commit 81a5d059d2

@ -1,6 +1,7 @@
CHANGELOG Roundcube Webmail
===========================
- Fix PLAIN authentication for some IMAP servers (#1488674)
- Fix encoding vCard file when contains PHOTO;ENCODING=b (#1488683)
- Fix focus issue in IE when selecting message row (#1488620)
- Fix displaying all headers when they contain malformed characters (#1488666)

@ -622,6 +622,7 @@ class rcube_imap_generic
}
else {
$authc = $user;
$user = '';
}
$auth_sasl = Auth_SASL::factory('digestmd5');
$reply = base64_encode($auth_sasl->getResponse($authc, $pass,
@ -660,6 +661,7 @@ class rcube_imap_generic
}
else {
$authc = $user;
$user = '';
}
$reply = base64_encode($user . chr(0) . $authc . chr(0) . $pass);

Loading…
Cancel
Save