mirror of
https://github.com/ninenines/cowboy.git
synced 2025-07-14 12:20:24 +00:00
Fix wrong percent encoding in a router test
This commit is contained in:
parent
eb1a06cf5d
commit
09506e7b5f
1 changed files with 1 additions and 1 deletions
|
@ -461,7 +461,7 @@ split_path_test_() ->
|
||||||
{<<"/extend//cowboy">>, [<<"extend">>, <<>>, <<"cowboy">>]},
|
{<<"/extend//cowboy">>, [<<"extend">>, <<>>, <<"cowboy">>]},
|
||||||
{<<"/users">>, [<<"users">>]},
|
{<<"/users">>, [<<"users">>]},
|
||||||
{<<"/users/42/friends">>, [<<"users">>, <<"42">>, <<"friends">>]},
|
{<<"/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].
|
[{P, fun() -> R = split_path(P) end} || {P, R} <- Tests].
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue