[Tickets #3778] NEW: log in when the username contains spaces
bugs@bugs.horde.org
bugs at bugs.horde.org
Sun Apr 16 11:47:51 PDT 2006
DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.
Ticket URL: http://bugs.horde.org/ticket/?id=3778
-----------------------------------------------------------------------
Ticket | 3778
Created By | dilyan.palauzov at aegee.org
Summary | log in when the username contains spaces
Queue | IMP
Version | 4.1.1
State | Unconfirmed
Priority | 1. Low
Type | Bug
Owners |
-----------------------------------------------------------------------
dilyan.palauzov at aegee.org (2006-04-16 11:47) wrote:
Hello,
The Cyrus Imap server permits usernames (mailboxes) to contain spaces, bu in
order to make use of them in the A001 login command, the username has to be
quoted. However imp/lib/IMAP/Client.php does not quote the user name and
trying to enter IMP with user name X Y and password Z generates the command
A001 login X Y Z
which obviously has three parameters instead of two. Thefore I would like to
ask you to quote the username before passing it to the IMAP-server, e.g. by
prepending
$username = '"'. $username . '"';
to imp-4.1.1/lib/IMAP/Client.php:login($usrname) (put it on line 470).
More information about the bugs
mailing list