Browse Source

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

pull/63/head
Kanti 11 years ago
parent
commit
3db5895c38
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      system/includes/dispatch.php

+ 1
- 1
system/includes/dispatch.php View File

@ -499,7 +499,7 @@ function flash($key, $msg = null, $now = false) {
function dispatch() { function dispatch() {
$path = $_SERVER['REQUEST_URI'];
$path = urldecode($_SERVER['REQUEST_URI']);
if (config('site.url') !== null) if (config('site.url') !== null)
$path = preg_replace('@^'.preg_quote(site_path()).'@', '', $path); $path = preg_replace('@^'.preg_quote(site_path()).'@', '', $path);


Loading…
Cancel
Save