summaryrefslogtreecommitdiffstats
path: root/Auth/Yadis/HTTPFetcher.php
diff options
context:
space:
mode:
Diffstat (limited to 'Auth/Yadis/HTTPFetcher.php')
-rw-r--r--Auth/Yadis/HTTPFetcher.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/Auth/Yadis/HTTPFetcher.php b/Auth/Yadis/HTTPFetcher.php
index 4b46140..7dffc78 100644
--- a/Auth/Yadis/HTTPFetcher.php
+++ b/Auth/Yadis/HTTPFetcher.php
@@ -85,7 +85,7 @@ class Auth_Yadis_HTTPFetcher {
function _findRedirect($headers)
{
foreach ($headers as $line) {
- if (strpos($line, "Location: ") === 0) {
+ if (stripos($line, "Location: ") === 0) {
$parts = explode(" ", $line, 2);
return $parts[1];
}