File tree Expand file tree Collapse file tree 2 files changed +12
-1
lines changed Expand file tree Collapse file tree 2 files changed +12
-1
lines changed Original file line number Diff line number Diff line change @@ -419,7 +419,7 @@ unlink($file);
419
419
420
420
# Expect a HttpOnly cookie to be loaded, rather than treated as a comment
421
421
$c = HTTP::Cookies::Netscape-> new(file => ' t/data/netscape-httponly.txt' );
422
- ok(count_cookies($c ), 2 );
422
+ ok(count_cookies($c ), 4 );
423
423
undef ($c );
424
424
425
425
#
Original file line number Diff line number Diff line change 2
2
# http://www.netscape.com/newsref/std/cookie_spec.html
3
3
# This is a generated file! Do not edit.
4
4
5
+ # Should be loaded as normal
5
6
www.acme.com FALSE / FALSE 2147483647 foo1 bar
7
+
8
+ # Should be loaded with hostname www.acme.com
6
9
#HttpOnly_www.acme.com FALSE / FALSE 2147483647 foo2 bar
10
+ #HttpOnly_www.acme.com FALSE / FALSE 2147483647 foo3 bar
11
+ #HttpOnly_www.acme.com FALSE / FALSE 2147483647 foo4 bar
12
+
13
+ # Should not be loaded (double prefix)
14
+ #HttpOnly_#HttpOnly_www.acme.com FALSE / FALSE 2147483647 foo5 bar
15
+
16
+ # Should not be loaded (case-sensitivity)
17
+ #Httponly_www.acme.com FALSE / FALSE 2147483647 foo6 bar
You can’t perform that action at this time.
0 commit comments