fix parsing of boundary header to be case-insensitive, fixes preview text and spotlight file generation, 290057, sr=mscott

This commit is contained in:
bienvenu%nventure.com 2007-02-03 18:20:17 +00:00
Родитель 5e262ab723
Коммит 096317e0d0
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -5204,7 +5204,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;