Rest API: urldecode path parameters
Change-Id: I4df4ec11820fa4009a0a2d1790c1d7792e946434
This commit is contained in:
parent
af5df424fc
commit
6974239778
1 changed files with 1 additions and 1 deletions
|
|
@ -233,7 +233,7 @@ class Router {
|
|||
}
|
||||
}
|
||||
|
||||
$request->setPathParams( $match['params'] );
|
||||
$request->setPathParams( array_map( 'rawurldecode', $match['params'] ) );
|
||||
$spec = $match['userData'];
|
||||
$objectFactorySpec = array_intersect_key( $spec,
|
||||
[ 'factory' => true, 'class' => true, 'args' => true ] );
|
||||
|
|
|
|||
Loading…
Reference in a new issue