BugFix: url will be fixed from %20 to [blank]

This commit is contained in:
Kanti 2014-07-21 16:26:18 +02:00
commit 3db5895c38

View file

@ -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);