Skip to content

Commit

Permalink
BugFix: url will be fixed from %20 to [blank]
Browse files Browse the repository at this point in the history
  • Loading branch information
Kanti committed Jul 21, 2014
1 parent 9165c04 commit 3db5895
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion system/includes/dispatch.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 3db5895

Please sign in to comment.