diff options
author | Andrey Andreev <narf@devilix.net> | 2016-08-10 14:18:31 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-08-10 14:18:31 +0200 |
commit | 488ad40ba334ca506f07bede97724726eac2b27f (patch) | |
tree | 7a850907271a0dd8e5461370aafcddbd63e3eec8 /system/libraries/Trackback.php | |
parent | 28d97168bf82d50440a489efda32b707fbcd1dbd (diff) | |
parent | 656fd7eef9624c3c07918b2d573d9ccb6f971c57 (diff) |
Merge pull request #4758 from butane/uri_scheme_case
URI schemes are not case-sensitive
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..7222c00c2 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 (stripos($url, 'http') !== 0) { $url = 'http://'.$url; } |