Bug 323318 [RFC 2231] when the attachment file name is separated, should append semi-colon(';') r=jshin, sr=bienvenu

This commit is contained in:
masayuki%d-toybox.com 2006-01-15 16:39:31 +00:00
parent 6da71db6d2
commit 911fca4899

View File

@ -1307,10 +1307,7 @@ RFC2231ParmFolding(const char *parmName, const nsAFlatCString& charset,
foldedParm = PL_strdup(parmName);
}
else {
if (needEscape)
NS_MsgSACat(&foldedParm, "\r\n ");
else
NS_MsgSACat(&foldedParm, ";\r\n ");
NS_MsgSACat(&foldedParm, ";\r\n ");
NS_MsgSACat(&foldedParm, parmName);
}
PR_snprintf(digits, sizeof(digits), "*%d", counter);