Hi All,

I reported this a couple months ago as a bug in RC2, not sure if
anyone noticed. Anyway this bug also exists in RV3 annd should
probably be fixed before a stable release.

Essentially pop3.inc inserts the message headers into an arrary
startting at index 1 but then reads them back starting at index 0 so
that it misses the last one. If this last header happens to be "from:"
header the interface becomes nearly unusable.

I realise I may be the only one using pop3 ;-)

attached is a patch.

-- 
Harvey
--- pop3.inc.orig       2006-01-02 14:13:56.487198048 -0500
+++ pop3.inc    2006-01-02 14:14:24.047008320 -0500
@@ -592,8 +592,8 @@
                        if (strlen($line)>2){
                                if (ord($line[0]) <= 32) $lines[$c] .= 
(empty($lines[$c])?"":"\n").trim($line);
                                else{
-                                       $c++;
                                        $lines[$c]=$line;
+                                       $c++;
                                }
                        }
                }while($line[0]!=".");

Reply via email to