diff options
author | Andrey Andreev <narf@devilix.net> | 2015-07-28 11:19:10 +0200 |
---|---|---|
committer | Andrey Andreev <narf@devilix.net> | 2015-07-28 11:19:10 +0200 |
commit | 5ffbdcec661888460aef009f62adb50dd8ad1c3c (patch) | |
tree | c5fa6a6775de9a65b885911281cec3dbe3a01f19 /system | |
parent | 49ea7dbe0a62f4f3447ecb449b3ed0d7d66ce449 (diff) |
Fix #4005
Diffstat (limited to 'system')
-rw-r--r-- | system/core/URI.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/system/core/URI.php b/system/core/URI.php index b6eff1f4d..5b658f679 100644 --- a/system/core/URI.php +++ b/system/core/URI.php @@ -203,7 +203,7 @@ class CI_URI { // parse_url() returns false if no host is present, but the path or query string // contains a colon followed by a number - $uri = parse_url('dummy'.$_SERVER['REQUEST_URI']); + $uri = parse_url('http://dummy'.$_SERVER['REQUEST_URI']); $query = isset($uri['query']) ? $uri['query'] : ''; $uri = isset($uri['path']) ? $uri['path'] : ''; |