urldecode trailing pass

This commit is contained in:
Saleh Souzanchi 2012-03-07 06:06:59 +03:30
parent 17eb0e4f68
commit e741d79f9a

View file

@ -240,7 +240,7 @@ class CakeRoute {
}
if (isset($route['_trailing_'])) {
$route['pass'][] = $route['_trailing_'];
$route['pass'][] = rawurldecode($route['_trailing_']);
unset($route['_trailing_']);
}