[Tickets #3778] RESOLVED: log in when the username contains spaces

bugs@bugs.horde.org bugs at bugs.horde.org
Mon Apr 17 08:51:59 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
 Updated By         | Michael Slusarz <slusarz at horde.org>
 Summary            | log in when the username contains spaces
 Queue              | IMP
 Version            | 4.1.1
-State              | Assigned
+State              | Resolved
 Priority           | 1. Low
 Type               | Bug
 Owners             | Michael Slusarz
-----------------------------------------------------------------------


Michael Slusarz <slusarz at horde.org> (2006-04-17 08:51) wrote:

Fixed in HEAD and IMP 4.1.2.

However, as noted in the comments in the code:
We should use a literal string to send the username, but some
IMAP servers don't support a literal string request inside of a
literal string. Thus, use a quoted string for the username
(which should probably be OK since it is very unlikely a
username will include a double-quote character).

i.e. we should be doing this:

a001 LOGIN {3}
+ OK
foo {3}
+ OK
bar

but certain IMAP implementations (i.e. up-imapproxy) don't support this:

a001 login {e}
+ go ahead
foo {3}
a001 NO LOGIN failed

Literal string requests MUST (per RFC 3501) be honored inside of a literal
string itself.  up-imapproxy is broken and needs to be fixed.  I am going to
send the devs a message and let them know about this.  As stated above, this
shouldn't be critical because I don't know of a single IMAP server or OS
that allows double quotes in a username.  But theoretically this is
possible.




More information about the bugs mailing list