Cookie parsing, validation, and jar management following RFC 6265.
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

ocaml-cookie: update fuzz_cookie for the of_cookie_header -> of_request_header rename

Missed in the rename commit; the fuzz target referenced the old name and
broke the build under the [afl] profile.

+2 -2
+2 -2
fuzz/fuzz_cookie.ml
··· 17 17 18 18 (* Test that of_cookie_header never crashes *) 19 19 let test_parse_cookie_no_crash input = 20 - ignore (Cookie.of_cookie_header ~now ~domain:"example.com" ~path:"/" input); 20 + ignore (Cookie.of_request_header ~now ~domain:"example.com" ~path:"/" input); 21 21 check true 22 22 23 23 (* Test cookie serialization never crashes *) ··· 62 62 (* Test multiple cookies in Cookie header *) 63 63 let test_multiple_cookies name1 value1 name2 value2 = 64 64 let header = Fmt.str "%s=%s; %s=%s" name1 value1 name2 value2 in 65 - ignore (Cookie.of_cookie_header ~now ~domain:"example.com" ~path:"/" header); 65 + ignore (Cookie.of_request_header ~now ~domain:"example.com" ~path:"/" header); 66 66 check true 67 67 68 68 let suite =