summaryrefslogtreecommitdiffstats
path: root/Tests
diff options
context:
space:
mode:
authortailor <dag@janrain.com>2008-06-03 00:04:47 +0000
committertailor <dag@janrain.com>2008-06-03 00:04:47 +0000
commit55a1d7d30404fb239a1fa03eb547f73ccf1bb585 (patch)
tree06c02212a5ec27da647f42654492150e2cfdbcbd /Tests
parent43da29fad59cf2842e8171c33af899818d63ae43 (diff)
downloadphp-openid-55a1d7d30404fb239a1fa03eb547f73ccf1bb585.zip
php-openid-55a1d7d30404fb239a1fa03eb547f73ccf1bb585.tar.gz
php-openid-55a1d7d30404fb239a1fa03eb547f73ccf1bb585.tar.bz2
[project @ normalize return_to before checking]
Diffstat (limited to 'Tests')
-rw-r--r--Tests/Auth/OpenID/Consumer.php6
1 files changed, 5 insertions, 1 deletions
diff --git a/Tests/Auth/OpenID/Consumer.php b/Tests/Auth/OpenID/Consumer.php
index c289027..613bf01 100644
--- a/Tests/Auth/OpenID/Consumer.php
+++ b/Tests/Auth/OpenID/Consumer.php
@@ -1331,7 +1331,11 @@ class TestReturnToArgs extends PHPUnit_TestCase {
array($return_to . "?another=arg#fragment",
array(array(
array(Auth_OpenID_BARE_NS, 'another'),
- 'arg')))
+ 'arg'))),
+ array("HTTP://some.url/path",array()),
+ array("http://some.URL/path",array()),
+ array("http://some.url:80/path",array()),
+ array("http://some.url/./path",array())
);
$endpoint = null;