From 29da4207eadff5a4e25e3ddd8d40732e47e992bb Mon Sep 17 00:00:00 2001 From: "bienvenu%nventure.com" Date: Sat, 3 Feb 2007 18:20:17 +0000 Subject: [PATCH] fix parsing of boundary header to be case-insensitive, fixes preview text and spotlight file generation, 290057, sr=mscott git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@219457 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/mailnews/base/util/nsMsgDBFolder.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mozilla/mailnews/base/util/nsMsgDBFolder.cpp b/mozilla/mailnews/base/util/nsMsgDBFolder.cpp index 41596077dc1..1733f774edf 100644 --- a/mozilla/mailnews/base/util/nsMsgDBFolder.cpp +++ b/mozilla/mailnews/base/util/nsMsgDBFolder.cpp @@ -5229,7 +5229,7 @@ NS_IMETHODIMP nsMsgDBFolder::GetMsgTextFromStream(nsIMsgDBHdr *msgHdr, nsIInputS { // Mail.app doesn't wrap the boundary id in quotes so we need // to be sure to handle an unquoted boundary. - PRInt32 boundaryIndex = curLine.Find("boundary="); + PRInt32 boundaryIndex = curLine.Find("boundary=", PR_TRUE /* ignore case*/); if (boundaryIndex != kNotFound) { boundaryIndex += 9;