Closed devshorts closed 5 years ago
If you have a case class request:
case class FooRequest(@RouteParam data: String)
And a controller like:
get("test/:dat") { request: FooRequest => }
If you send a url encoded route to it:
get test/= GET test/%3D`
The value of data does not reflect the decoded value (=) but instead shows %3D. This seems related to https://github.com/twitter/finatra/issues/68 but was filed against 1.x and I am seeing this on finatra 2.10
=
%3D
Route url encoded params are decoded
Route url encoded params are not decoded
Related to #296
We have a fix for this internally. Watch this space.
Fixed in a79f56347acd2194e415975ab125e2509c8e91e5.
If you have a case class request:
And a controller like:
If you send a url encoded route to it:
The value of data does not reflect the decoded value (
=
) but instead shows%3D
. This seems related to https://github.com/twitter/finatra/issues/68 but was filed against 1.x and I am seeing this on finatra 2.10Expected behavior
Route url encoded params are decoded
Actual behavior
Route url encoded params are not decoded