Skip to content

Commit

Permalink
Merge pull request #63 from Kanti/master
Browse files Browse the repository at this point in the history
BugFix: url will be fixed from %20 to [blank] by @Kanti.
  • Loading branch information
danpros committed Jul 23, 2014
2 parents 9165c04 + 3db5895 commit 7ec08fe
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 7ec08fe

Please sign in to comment.