Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 1.3.8

Bug #2454 AUTH LOGIN user and pass need to be enclosed in double quotes?
Submitted: 2004-10-05 03:14 UTC
From: erickoh at jobsfactory dot com Assigned: damian
Status: Closed Package: Net_POP3
PHP Version: 4.3.9 OS: Linux
Roadmaps: (Not assigned)    
Subscription  


 [2004-10-05 03:14 UTC] erickoh at jobsfactory dot com
Description: ------------ inside POP3.php under function _authLOGIN the $user and $pass are base64_encoded and enclosed in double quotes before being sent. ie: sprintf('"%s"', base64_encode($user)) sprintf('"%s"', base64_encode($pass)) The double quotes caused a problem with my mailsite 4.5.6 POP3 server // +OK MailSite POP3 Server 4.5.6.0 Ready Removing the double quotes made it work. ie: sprintf('%s', base64_encode($user)) sprintf('%s', base64_encode($pass)) However, my redhat fedora core2 POP3 worked fine whether or not there were double quotes. I'm not familiar with the POP3 RFC, but if the double quotes are not necessary, especially if the subject does not contain a space, perhaps they can be ommited

Comments

 [2004-12-05 16:39 UTC] User who submitted this comment has not confirmed identity
If you submitted this note, check your email.If you do not have a message, click here to re-send
MANUAL CONFIRMATION IS NOT POSSIBLE.  Write a message to pear-dev@lists.php.net
to request the confirmation link.  All bugs/comments/patches associated with this

email address will be deleted within 48 hours if the account request is not confirmed!