dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
31f414f
)
Add more super-cookie test cases to HttpTest; things like org & .org aren't being...
author
Brion Vibber
<brion@users.mediawiki.org>
Wed, 1 Jun 2011 22:27:24 +0000
(22:27 +0000)
committer
Brion Vibber
<brion@users.mediawiki.org>
Wed, 1 Jun 2011 22:27:24 +0000
(22:27 +0000)
tests/phpunit/includes/HttpTest.php
patch
|
blob
|
history
diff --git
a/tests/phpunit/includes/HttpTest.php
b/tests/phpunit/includes/HttpTest.php
index
4e3364d
..
d54e7f4
100644
(file)
--- 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" ),