summaryrefslogtreecommitdiffstats
path: root/system/helpers/url_helper.php
diff options
context:
space:
mode:
authorVivek Dinesh <vivekdinesh5@gmail.com>2016-08-11 14:10:45 +0200
committerVivek Dinesh <vivekdinesh5@gmail.com>2016-08-11 14:10:45 +0200
commitb6ed3d102dc7c8e2a591405e56aa780d64d385d6 (patch)
treee305ae8a96c1bc7483317114339b53fa6472efe8 /system/helpers/url_helper.php
parentc82e9968326b949d4cdad384f4645b28fa7c2f17 (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.php2
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 '';
}