Commit 17213fe0 authored by Taylor Otwell's avatar Taylor Otwell

urldecode all route parameters.

parent 3780da4a
...@@ -53,7 +53,8 @@ class Route { ...@@ -53,7 +53,8 @@ class Route {
{ {
$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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment