diff options
author | Loïc Hoguin <[email protected]> | 2017-06-28 18:59:20 +0200 |
---|---|---|
committer | Loïc Hoguin <[email protected]> | 2017-06-28 18:59:20 +0200 |
commit | 09506e7b5fc7b86d8a97f3e9e14ac32f191dc32e (patch) | |
tree | d8c29f927f6f7e1e41509c1dfc0986517e09484a | |
parent | eb1a06cf5d50e4fbb3d51eb623c9c09e2f4ac3a2 (diff) | |
download | cowboy-09506e7b5fc7b86d8a97f3e9e14ac32f191dc32e.tar.gz cowboy-09506e7b5fc7b86d8a97f3e9e14ac32f191dc32e.tar.bz2 cowboy-09506e7b5fc7b86d8a97f3e9e14ac32f191dc32e.zip |
Fix wrong percent encoding in a router test
-rw-r--r-- | src/cowboy_router.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cowboy_router.erl b/src/cowboy_router.erl index b47f403..3451ddd 100644 --- a/src/cowboy_router.erl +++ b/src/cowboy_router.erl @@ -461,7 +461,7 @@ split_path_test_() -> {<<"/extend//cowboy">>, [<<"extend">>, <<>>, <<"cowboy">>]}, {<<"/users">>, [<<"users">>]}, {<<"/users/42/friends">>, [<<"users">>, <<"42">>, <<"friends">>]}, - {<<"/users/a+b/c%21d">>, [<<"users">>, <<"a b">>, <<"c!d">>]} + {<<"/users/a%20b/c%21d">>, [<<"users">>, <<"a b">>, <<"c!d">>]} ], [{P, fun() -> R = split_path(P) end} || {P, R} <- Tests]. |