[dev] quotes around imap LOGIN command?

Matt Selsky selsky at columbia.edu
Tue Oct 18 03:07:57 PDT 2005


Is there a reason why we call quoteimap() on the username and password 
in imp/lib/IMAP/Client.php (and then surround the username and password 
in double-quotes) when we're authenticating to IMAP via the LOGIN 
command?

This code was copied from the SquirrelMail code, but I don't see any 
reason why they use it either.  RFC 3501 doesn't mention any need for 
surrounding the username and password in quotes in section 6.2.3.



-- 
Matt


More information about the dev mailing list