summaryrefslogtreecommitdiffstats
path: root/system/libraries
diff options
context:
space:
mode:
Diffstat (limited to 'system/libraries')
-rw-r--r--system/libraries/Trackback.php2
-rw-r--r--system/libraries/Xmlrpc.php2
2 files changed, 2 insertions, 2 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;
}
diff --git a/system/libraries/Xmlrpc.php b/system/libraries/Xmlrpc.php
index f965858e2..b01691ac2 100644
--- a/system/libraries/Xmlrpc.php
+++ b/system/libraries/Xmlrpc.php
@@ -352,7 +352,7 @@ class CI_Xmlrpc {
*/
public function server($url, $port = 80, $proxy = FALSE, $proxy_port = 8080)
{
- if (strpos($url, 'http') !== 0)
+ if (strpos(strtolower($url), 'http') !== 0)
{
$url = 'http://'.$url;
}