php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #23005 imap_open does not quote username/password in LOGIN command
Submitted: 2003-04-01 12:50 UTC Modified: 2003-04-02 11:10 UTC
From: chris at jazzyb dot org dot uk Assigned:
Status: Not a bug Package: IMAP related
PHP Version: 4.3.2RC1 OS: GNU/Linux (Debian 3.0)
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem:
29 - 21 = ?
Subscribe to this entry?

 
 [2003-04-01 12:50 UTC] chris at jazzyb dot org dot uk
This bug was found with horde2/imp3.  When logging into a Courier IMAP server I found I could not login successfully.  By use of tcpdump and comparing the behaviour of php/imap and mutt in imap client mode I was able to determine that mutt is quoting the username/password (e.g. LOGIN "username" "password") whereas the php application was not.

This only shows up because I had special characters in my IMAP password.  I am able to workaround the problem by using a different password.

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2003-04-02 11:10 UTC] sniper@php.net
The RFC does not say that these always have to be quoted.
So if some braindead imap server requires it, feel free
to add those yourself. 

(or this is the responsibility of c-client, in which case: report this to the author of it)

Not PHP bug.

 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Apr 27 16:01:29 2024 UTC