diff options
author | Andrey Andreev <narf@devilix.net> | 2016-08-10 14:18:31 +0200 |
---|---|---|
committer | Andrey Andreev <narf@devilix.net> | 2016-08-10 14:19:22 +0200 |
commit | e33c82d62e5a56b2fe46096420de838eb74553e8 (patch) | |
tree | 840d6d4e0953d5587198a07a3350f9c2dfabdd2f /system/libraries/Trackback.php | |
parent | 878e23f8883b2510d573850deb7dca5761cc1848 (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; } |