mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-11 01:57:00 +00:00
Bug 1244505 - Allow spaces in cookie names. r=mcmanus
--HG-- extra : commitid : JRYohkoM9zL extra : rebase_source : 8be51c60e2153d4332a617d40d5ba6923bb24a26 extra : histedit_source : 2a2b22cce13db92c4db24763c412d837fe3af37a
This commit is contained in:
parent
addf646a4c
commit
07a85c1de1
@ -3194,7 +3194,7 @@ nsCookieService::SetCookieInternal(nsIURI *aHostURI,
|
||||
0x0D, 0x0E, 0x0F, 0x10, 0x11, 0x12,
|
||||
0x13, 0x14, 0x15, 0x16, 0x17, 0x18,
|
||||
0x19, 0x1A, 0x1B, 0x1C, 0x1D, 0x1E,
|
||||
0x1F, 0x20, 0x00 };
|
||||
0x1F, 0x00 };
|
||||
if (cookieAttributes.name.FindCharInSet(illegalNameCharacters, 0) != -1) {
|
||||
COOKIE_LOGFAILURE(SET_COOKIE, aHostURI, savedCookieHeader, "invalid name character");
|
||||
return newCookie;
|
||||
|
Loading…
x
Reference in New Issue
Block a user