http://www.mediawiki.org/wiki/Special:Code/MediaWiki/89299

Revision: 89299
Author:   brion
Date:     2011-06-01 22:27:24 +0000 (Wed, 01 Jun 2011)
Log Message:
-----------
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.

Modified Paths:
--------------
    trunk/phase3/tests/phpunit/includes/HttpTest.php

Modified: trunk/phase3/tests/phpunit/includes/HttpTest.php
===================================================================
--- trunk/phase3/tests/phpunit/includes/HttpTest.php    2011-06-01 22:13:47 UTC 
(rev 89298)
+++ trunk/phase3/tests/phpunit/includes/HttpTest.php    2011-06-01 22:27:24 UTC 
(rev 89299)
@@ -332,6 +332,10 @@
        
        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" ),


_______________________________________________
MediaWiki-CVS mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs

Reply via email to