From f6895e7aa47fa6bafc1258d839d5d6b4b0cbf055 Mon Sep 17 00:00:00 2001 From: lkehresman Date: Sun, 19 Mar 2000 13:42:07 +0000 Subject: [PATCH] fixed bug with "boundary" maybe being uppercase (pine) git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@311 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- functions/imap_messages.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/functions/imap_messages.php b/functions/imap_messages.php index 34d26d5d..76b5cee3 100755 --- a/functions/imap_messages.php +++ b/functions/imap_messages.php @@ -161,7 +161,7 @@ /** 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)); -- 2.25.1