urldecode all route parameters.
This commit is contained in:
parent
3780da4ad1
commit
17213fe073
|
@ -53,7 +53,8 @@ public function __construct($key, $action, $parameters = array())
|
||||||
{
|
{
|
||||||
$this->key = $key;
|
$this->key = $key;
|
||||||
$this->action = $action;
|
$this->action = $action;
|
||||||
$this->parameters = $parameters;
|
|
||||||
|
$this->parameters = array_map('urldecode', $parameters);
|
||||||
|
|
||||||
// Extract each URI from the route key. Since the route key has the request
|
// Extract each URI from the route key. Since the route key has the request
|
||||||
// method, we will extract that from the string. If the URI points to the
|
// method, we will extract that from the string. If the URI points to the
|
||||||
|
|
Loading…
Reference in New Issue