diff options
author | Vivek Dinesh <vivekdinesh5@gmail.com> | 2016-08-11 14:10:45 +0200 |
---|---|---|
committer | Vivek Dinesh <vivekdinesh5@gmail.com> | 2016-08-11 14:10:45 +0200 |
commit | b6ed3d102dc7c8e2a591405e56aa780d64d385d6 (patch) | |
tree | e305ae8a96c1bc7483317114339b53fa6472efe8 /system/helpers/url_helper.php | |
parent | c82e9968326b949d4cdad384f4645b28fa7c2f17 (diff) |
URI schemes are not case-sensitive
Signed-off-by: Vivek Dinesh <vivekdinesh5@gmail.com>
Diffstat (limited to 'system/helpers/url_helper.php')
-rw-r--r-- | system/helpers/url_helper.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/system/helpers/url_helper.php b/system/helpers/url_helper.php index fd7b5e116..82b9e02af 100644 --- a/system/helpers/url_helper.php +++ b/system/helpers/url_helper.php @@ -443,7 +443,7 @@ if ( ! function_exists('prep_url')) */ function prep_url($str = '') { - if ($str === 'http://' OR $str === '') + if (strtolower($str) === 'http://' OR $str === '') { return ''; } |