From e741d79f9a27e52c7f3e89ec4cbf3ceb142b8354 Mon Sep 17 00:00:00 2001 From: Saleh Souzanchi Date: Wed, 7 Mar 2012 06:06:59 +0330 Subject: [PATCH] urldecode trailing pass --- lib/Cake/Routing/Route/CakeRoute.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Cake/Routing/Route/CakeRoute.php b/lib/Cake/Routing/Route/CakeRoute.php index a81ec402d..28d3417ec 100644 --- a/lib/Cake/Routing/Route/CakeRoute.php +++ b/lib/Cake/Routing/Route/CakeRoute.php @@ -240,7 +240,7 @@ class CakeRoute { } if (isset($route['_trailing_'])) { - $route['pass'][] = $route['_trailing_']; + $route['pass'][] = rawurldecode($route['_trailing_']); unset($route['_trailing_']); }