[imp] Not finished with strange passwords ...

Jan Schneider jan@horde.org
Thu, 28 Feb 2002 12:38:10 +0100


Zitat von Olivier PAGE <olivier.page@esm2.imt-mrs.fr>:

> still have the problem ....
> the passwd is "foobar  "  (2 spaces at the end, no quotes)
> 
> // $Horde: imp/lib/IMP.php,v 1.198.2.7 2002/01/17 23:11:28 jan Exp $  
> 
> telnet localhost 143                
> * OK [CAPABILITY IMAP4REV1 LOGIN-REFERRALS STARTTLS AUTH=LOGIN]
> localhost.esm2.imt-mrs.fr IMAPD may be 0.0-1a at Thu, 28 Feb 2002
> 08:15:45 +0100 (CET)          
> . login foo "foobar  "
> * CAPABILITY IMAP4REV1 IDLE NAMESPACE MAILBOX-REFERRALS SCAN SORT
> THREAD=REFERENCES THREAD=ORDEREDSUBJECT MULTIAPPEND
> . OK LOGIN completed
> 
> I've noticed that :
> . login foo foobar  <----- with 2 spaces at the end ....
> 
> doesn't work ...

Some more things you please can try to find out: Does quoting _always_ work 
even if there are no whitespaces? What happens if you quote a password that 
contains a quote itself? Does the login dialog understand escaped quotes?

Try if you can find out how PHP talks to the server. Does it quote the 
passwords?

Jan.

--
http://www.horde.org - The Horde Project
http://www.ammma.de - discover your knowledge
http://www.tip4all.de - Deine private Tippgemeinschaft