From 0077b21e433d73454f7cb8d5de70f343b1abc944 Mon Sep 17 00:00:00 2001 From: Dominique Fournier Date: Wed, 5 Aug 2015 11:49:22 +0000 Subject: [PATCH] route : the URL are decoded before providing the informations to map git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@2210 bf3deb0d-5f1a-0410-827f-c0cc1f45334c --- route.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/route.php b/route.php index 9c165a5..3f5833e 100644 --- a/route.php +++ b/route.php @@ -390,7 +390,7 @@ class route foreach ($reflect->getParameters() as $key=>$val) { if (isset ($matches[$val->name])) - $params[] = $matches[$val->name]; + $params[] = urldecode ($matches[$val->name]); else $params[] = null; }