summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKartikaya Gupta <kats@calvin.staktrace.com>2011-10-02 17:38:01 -0700
committerKartikaya Gupta <kats@calvin.staktrace.com>2011-10-02 17:38:01 -0700
commit41aa6adced0008c6364937fe0d9ec7d7813278e4 (patch)
treea763811320f8383a8d56ff70b4bac0e25ec56d75
parent8de3a68f8baae52789bd9f3fce7999087ab4b1dc (diff)
downloadphp-openid-41aa6adced0008c6364937fe0d9ec7d7813278e4.zip
php-openid-41aa6adced0008c6364937fe0d9ec7d7813278e4.tar.gz
php-openid-41aa6adced0008c6364937fe0d9ec7d7813278e4.tar.bz2
Update the URL used for HTTPFetch testing now that github's behaviour has changed and they do some redirects. This makes the test pass again
-rw-r--r--examples/detect.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/detect.php b/examples/detect.php
index dc398a5..4bbb5ad 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);