fixed bug with "boundary" maybe being uppercase (pine)
authorlkehresman <lkehresman@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Sun, 19 Mar 2000 13:42:07 +0000 (13:42 +0000)
committerlkehresman <lkehresman@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Sun, 19 Mar 2000 13:42:07 +0000 (13:42 +0000)
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@311 7612ce4b-ef26-0410-bec9-ea0150e637f0

functions/imap_messages.php

index 34d26d5d3ab2a7a24c391f103fcec9baa55bdaa3..76b5cee3941c32d88e9453c224cc9fdbb09ca0f4 100755 (executable)
 
             /** Detect the boundary of a multipart message **/
             if (strpos(strtolower(trim($line)), "boundary=")) {
-               $pos = strpos($line, "boundary=") + 9;
+               $pos = strpos(strtolower($line), "boundary=") + 9;
                $bound = trim($line);
                if (strpos($line, " ", $pos) > 0) {
                   $bound = substr($bound, $pos, strpos($line, " ", $pos));