Added test for patch #103473: test an unquoted cookie value containing '='

This commit is contained in:
Andrew M. Kuchling 2001-02-21 01:17:54 +00:00
parent 715346060a
commit 8b94b1c74a
2 changed files with 7 additions and 0 deletions

View file

@ -10,6 +10,10 @@ Set-Cookie: chips=ahoy;
Set-Cookie: keebler="E=mc2; L=\"Loves\"; fudge=\012;";
keebler 'E=mc2; L="Loves"; fudge=\n;' 'E=mc2; L="Loves"; fudge=\n;'
Set-Cookie: keebler="E=mc2; L=\"Loves\"; fudge=\012;";
<SimpleCookie: keebler='E=mc2'>
Set-Cookie: keebler=E=mc2;
keebler 'E=mc2' 'E=mc2'
Set-Cookie: keebler=E=mc2;
Set-Cookie: Customer="WILE_E_COYOTE"; Path=/acme;
<SCRIPT LANGUAGE="JavaScript">

View file

@ -10,6 +10,9 @@
('chips=ahoy; vienna=finger', {'chips':'ahoy', 'vienna':'finger'}),
('keebler="E=mc2; L=\\"Loves\\"; fudge=\\012;";',
{'keebler' : 'E=mc2; L="Loves"; fudge=\012;'}),
# Check illegal cookies that have an '=' char in an unquoted value
('keebler=E=mc2;', {'keebler' : 'E=mc2'})
]
for data, dict in cases: