This should fix the hangs when doing a basic AUTHENTICATE PLAIN
authorMichael M Slusarz <slusarz@curecanti.org>
Fri, 9 Jan 2009 22:34:08 +0000 (15:34 -0700)
committerMichael M Slusarz <slusarz@curecanti.org>
Fri, 9 Jan 2009 22:34:08 +0000 (15:34 -0700)
framework/Imap_Client/lib/Horde/Imap/Client/Socket.php

index c276dcb..598d0d6 100644 (file)
@@ -532,7 +532,7 @@ class Horde_Imap_Client_Socket extends Horde_Imap_Client_Base
                 // IMAP Extension for SASL Initial Client Response (RFC 4959)
                 $this->_sendLine('AUTHENTICATE PLAIN ' . $auth, array('debug' => '[SASL-IR AUTHENTICATE Command]'));
             } else {
-                $this->_sendLine('AUTHENTICATE PLAIN');
+                $this->_sendLine('AUTHENTICATE PLAIN', array('noparse' => true));
                 $this->_sendLine($auth, array('debug' => '[AUTHENTICATE Command]', 'notag' => true));
             }
             break;