fix parsing of boundary header to be case-insensitive, fixes preview text and spotlight file generation, 290057, sr=mscott
This commit is contained in:
Родитель
5e262ab723
Коммит
096317e0d0
|
@ -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;
|
||||
|
|
Загрузка…
Ссылка в новой задаче