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
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: chris at jazzyb dot org dot uk
New email:
PHP Version: OS:

 

 [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: Thu Mar 28 17:01:29 2024 UTC