diff --git a/__cms__/cms.php b/__cms__/cms.php index c88f75c..a9cd6f1 100644 --- a/__cms__/cms.php +++ b/__cms__/cms.php @@ -15,6 +15,7 @@ class CMS { global $config_url_base; // TODO : Pas propre ! $base = "/" . preg_replace("/^https?:\/\/[^\/]*\//", "", $config_url_base, 1); + $uri = urldecode($uri); if (strpos($uri, $base) == 0) { return '/' . substr($uri, strlen($base)); } else {