Same problem as in #252: apop broken if zero occurs in banner in 2.3.3 class-pop3.php
|Reported by:||ASonno||Owned by:||westi|
|Component:||Blog by Email||Version:||2.3.3|
|Severity:||normal||Keywords:||APOP Blogg by Email has-patch needs-testing|
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@…> but the string was "+OK ready <14649.1203343777@…>"
or another example
"+OK ready <14649.1203343777@…>" and $pop3->parse_banner give back <14419.12334323@…>
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
Change History (4)
- Component changed from General to Mail
- Owner anonymous deleted