diff options
author | Brion Vibber <brion@users.mediawiki.org> | 2011-06-01 22:27:24 +0000 |
---|---|---|
committer | Brion Vibber <brion@users.mediawiki.org> | 2011-06-01 22:27:24 +0000 |
commit | 174b7d6a7a036844dcfe195f9190d3d683be38ae (patch) | |
tree | 49c3bfd4f7e13d23b8a130e488a930dcfeb63ad5 /tests/phpunit/includes/HttpTest.php | |
parent | 31f414f75f498af6ad935b3197531432867b6020 (diff) | |
download | mediawikicore-174b7d6a7a036844dcfe195f9190d3d683be38ae.tar.gz mediawikicore-174b7d6a7a036844dcfe195f9190d3d683be38ae.zip |
Add more super-cookie test cases to HttpTest; things like org & .org aren't being handled correctly either. Not super high prio but... should probably mark these tests broken if can't be fixed easily yet.
Notes
Notes:
http://mediawiki.org/wiki/Special:Code/MediaWiki/89299
Diffstat (limited to 'tests/phpunit/includes/HttpTest.php')
-rw-r--r-- | tests/phpunit/includes/HttpTest.php | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/phpunit/includes/HttpTest.php b/tests/phpunit/includes/HttpTest.php index 4e3364dc9273..d54e7f4fa7a1 100644 --- a/tests/phpunit/includes/HttpTest.php +++ b/tests/phpunit/includes/HttpTest.php @@ -332,6 +332,10 @@ class HttpTest extends MediaWikiTestCase { function cookieDomains() { return array( + array( false, "org"), + array( false, ".org"), + array( true, "wikipedia.org"), + array( true, ".wikipedia.org"), array( false, "co.uk" ), array( false, ".co.uk" ), array( false, "gov.uk" ), |