fix bug 21083, multiple cookies being ignored, r=valeski

This commit is contained in:
morse%netscape.com 1999-12-08 05:07:31 +00:00
parent 8d601d883c
commit 022b1a3ef9

View File

@ -132,7 +132,7 @@ nsresult nsHTTPHeaderArray::SetHeader(nsIAtom* aHeader,
// we can't use the standard comma because there
// set-cookie headers that include commas in the cookie value
// contrary to the specs not allowing it.
entry->mValue.Append(CR);
entry->mValue.Append(LF);
entry->mValue.Append(aValue);
} else {
// delimit each value from the others using a comma (HTTP spec delimiter)