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] damian
Thank you for your bug report. This issue has been fixed in the latest released version of the package, which you can download at http://pear.php.net/get/Net_POP3