summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWill Norris <will@willnorris.com>2012-01-02 14:17:06 -0800
committerWill Norris <will@willnorris.com>2012-01-02 14:17:06 -0800
commit53c793d795724ca042a82351e0366cec805cc167 (patch)
treed18b26b71025ac662954566c053e77b98206a825
parent1466a25f0894b7e7ae804802ee8302c32889ee1c (diff)
parent41aa6adced0008c6364937fe0d9ec7d7813278e4 (diff)
downloadphp-openid-53c793d795724ca042a82351e0366cec805cc167.zip
php-openid-53c793d795724ca042a82351e0366cec805cc167.tar.gz
php-openid-53c793d795724ca042a82351e0366cec805cc167.tar.bz2
Merge pull request #59 from staktrace/fix-detect
Fix detect
-rw-r--r--examples/detect.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/detect.php b/examples/detect.php
index 5fb18b3..aa717c8 100644
--- a/examples/detect.php
+++ b/examples/detect.php
@@ -434,7 +434,7 @@ function detect_fetcher($r, &$out)
$ok = true;
$fetcher = Auth_Yadis_Yadis::getHTTPFetcher();
- $fetch_url = 'http://gist.github.com/raw/465630/c57eff55ebc0c54973903af5f72bac72762cf4f4/helloworld';
+ $fetch_url = 'https://raw.github.com/gist/465630/c57eff55ebc0c54973903af5f72bac72762cf4f4/helloworld';
$expected_url = $fetch_url;// . '.txt';
$result = $fetcher->get($fetch_url);
@@ -455,7 +455,7 @@ function detect_fetcher($r, &$out)
if ($url == $fetch_url) {
$msg = 'The redirected URL was not returned.';
} else {
- $msg = 'An unexpected URL was returned: <' . $url . '>.';
+ $msg = 'An unexpected URL was returned: ' . $url . '.';
}
$parts[] = $r->b($msg);
}