mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-02 18:08:58 +00:00
fix bug 21083, multiple cookies being ignored, r=valeski
This commit is contained in:
parent
8d601d883c
commit
022b1a3ef9
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user