r-vidur. fixing boundary parsing logic to handle boundary identifiers wrapped in double quotes and spaces, 45878

This commit is contained in:
valeski%netscape.com 2000-07-25 22:03:15 +00:00
parent a3381b1cba
commit 33e73d7be4

View File

@ -240,7 +240,8 @@ nsMultiMixedConv::OnStartRequest(nsIChannel *channel, nsISupports *ctxt) {
nsCAutoString boundaryString(bndry);
if (attrib) *attrib = ';';
boundaryString.StripWhitespace();
boundaryString.Trim(" \"");
mToken = boundaryString.ToNewCString();
if (!mToken) return NS_ERROR_OUT_OF_MEMORY;