From 3db5895c3802b581b676d798adb596937e3b55bd Mon Sep 17 00:00:00 2001 From: Kanti Date: Mon, 21 Jul 2014 16:26:18 +0200 Subject: [PATCH] BugFix: url will be fixed from %20 to [blank] --- system/includes/dispatch.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/system/includes/dispatch.php b/system/includes/dispatch.php index 9b269c59..2789c143 100644 --- a/system/includes/dispatch.php +++ b/system/includes/dispatch.php @@ -499,7 +499,7 @@ function flash($key, $msg = null, $now = false) { function dispatch() { - $path = $_SERVER['REQUEST_URI']; + $path = urldecode($_SERVER['REQUEST_URI']); if (config('site.url') !== null) $path = preg_replace('@^'.preg_quote(site_path()).'@', '', $path);