diff options
author | Vivek Dinesh <vivekdinesh5@gmail.com> | 2016-08-09 19:13:52 +0200 |
---|---|---|
committer | Vivek Dinesh <vivekdinesh5@gmail.com> | 2016-08-09 19:13:52 +0200 |
commit | fba242cf6bc99833c21fc3600fdff2691244e243 (patch) | |
tree | e52c9cbaafb5ac37268245343ad9b637441be97e /system/libraries/Trackback.php | |
parent | 4e239a3913d161f560de9e20a3ef291ebf1c16fb (diff) |
URI schemes are not case sensitive
Signed-off-by: Vivek Dinesh <vivekdinesh5@gmail.com>
Diffstat (limited to 'system/libraries/Trackback.php')
-rw-r--r-- | system/libraries/Trackback.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/system/libraries/Trackback.php b/system/libraries/Trackback.php index a9b256464..848f5b3c9 100644 --- a/system/libraries/Trackback.php +++ b/system/libraries/Trackback.php @@ -370,7 +370,7 @@ class CI_Trackback { { $url = trim($url); - if (strpos($url, 'http') !== 0) + if (strpos(strtolower($url), 'http') !== 0) { $url = 'http://'.$url; } |