[wp-trac] [WordPress Trac] #5915: Same problem as in #252: apop broken if zero occurs in banner in 2.3.3 class-pop3.php

WordPress Trac wp-trac at lists.automattic.com
Tue Feb 19 05:21:02 GMT 2008


#5915: Same problem as in #252: apop broken if zero occurs in banner in 2.3.3
class-pop3.php
---------------------+------------------------------------------------------
 Reporter:  ASonno   |       Owner:  anonymous          
     Type:  defect   |      Status:  new                
 Priority:  normal   |   Milestone:  2.5                
Component:  General  |     Version:  2.3.3              
 Severity:  normal   |    Keywords:  APOP Blogg by Email
---------------------+------------------------------------------------------
 While extracting the banner (function parse_banner) in preparation for
 apop, the empty method is called on $digit which when zero returns false
 and hence doesn't get put into the resultant $banner.

 Example parse_banner reply with <14649.123343777 at code-werk.net> but the
 string was "+OK ready <14649.1203343777 at code-werk.net>"
 or another example
 "+OK ready <14649.1203343777 at code-werk.net>" and $pop3->parse_banner give
 back <14419.12334323 at code-werk.net>

 then a md5($AuthString) must fail, because the 0 is significant by apop.

 I put a workaround at http://www.babsi.de/silentapop/, that does it for
 me, but this touch also wp-main.php

-- 
Ticket URL: <http://trac.wordpress.org/ticket/5915>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list