[Tickets #7182] IMAP login broken/double connecon with maybe debug kinda stuff

bugs at horde.org bugs at horde.org
Sun Aug 10 22:02:40 UTC 2008


DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.

Ticket URL: http://bugs.horde.org/ticket/7182
------------------------------------------------------------------------------
  Ticket             | 7182
  Created By         | VJTD3 at VJTD3.com
  Summary            | IMAP login broken/double connecon with maybe debug
                     | kinda stuff
  Queue              | IMP
  Version            | 4.2
  Type               | Bug
  State              | Unconfirmed
  Priority           | 3. High
  Milestone          |
  Patch              | 1
  Owners             |
------------------------------------------------------------------------------


VJTD3 at VJTD3.com (2008-08-10 18:02) wrote:

lib/IMAP/Client.php is littered with stuff like:

line 442:
$read = $this->_runCommand("LOGIN \"$username\" {" . strlen($password) . "}");

should be:
$read = $this->_runCommand("LOGIN $username " . $password);

which looks like maybe a debug or something but it 100% kills IMP from  
running. why even have this second connection, the first should be  
doing this?

for some reason 2 connections happen, the first is the expected IMAP  
connection which has no issues, the second is the weird one.

another bug:
line: 635
$res = $this->_runCommand('LIST "" ""');

return nothing perhaps should be:
$res = $this->_runCommand('LIST "" "%"');
and/or
$res = $this->_runCommand('LIST "" "*"');
to get the list or just simply don't call it/them if there is no use.

still not sure why this second connection is made though...






More information about the bugs mailing list