aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLoïc Hoguin <[email protected]>2020-03-30 17:46:42 +0200
committerLoïc Hoguin <[email protected]>2020-03-30 17:46:42 +0200
commitbcef70818be1b0fdf5d3e52e9b7c490882218b45 (patch)
tree2ecc65c5707447dc0d905a4d39457089dd2a1f09
parent0fc33c53001e577f52377c520ec8199b9a0682f2 (diff)
downloadcowboy-bcef70818be1b0fdf5d3e52e9b7c490882218b45.tar.gz
cowboy-bcef70818be1b0fdf5d3e52e9b7c490882218b45.tar.bz2
cowboy-bcef70818be1b0fdf5d3e52e9b7c490882218b45.zip
Fix the req_SUITE:parse_cookie test
We now allow spaces in cookie names.
-rw-r--r--test/req_SUITE.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/req_SUITE.erl b/test/req_SUITE.erl
index d50b2ff..f71883f 100644
--- a/test/req_SUITE.erl
+++ b/test/req_SUITE.erl
@@ -281,7 +281,7 @@ parse_cookies(Config) ->
[{<<"cookie">>, "cake=strawberry"}, {<<"cookie">>, "color=blue"}], Config),
%% Ensure parse errors result in a 400 response.
{400, _, _} = do_get("/parse_cookies",
- [{<<"cookie">>, "bad name=strawberry"}], Config),
+ [{<<"cookie">>, "bad\tname=strawberry"}], Config),
{400, _, _} = do_get("/parse_cookies",
[{<<"cookie">>, "goodname=strawberry\tmilkshake"}], Config),
ok.