diff options
author | Aleksander Machniak <alec@alec.pl> | 2012-09-09 17:35:19 +0200 |
---|---|---|
committer | Aleksander Machniak <alec@alec.pl> | 2012-09-09 17:36:19 +0200 |
commit | 81a5d059d266f3520f2a9a472eca0988d847b16b (patch) | |
tree | 445525aa5a411db46aa77e15537bcdc20329c809 | |
parent | 3458439ad0fc7e918dae1788aeae4d0f6121c120 (diff) |
Fix PLAIN authentication for some IMAP servers (#1488674)
-rw-r--r-- | CHANGELOG | 1 | ||||
-rw-r--r-- | program/include/rcube_imap_generic.php | 2 |
2 files changed, 3 insertions, 0 deletions
@@ -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) diff --git a/program/include/rcube_imap_generic.php b/program/include/rcube_imap_generic.php index f70b91b04..16c8917ab 100644 --- a/program/include/rcube_imap_generic.php +++ b/program/include/rcube_imap_generic.php @@ -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); |