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
This commit is contained in:
bienvenu%nventure.com
2007-02-03 18:20:17 +00:00
parent a45828b612
commit 29da4207ea

View File

@@ -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;