diff options
author | Sam Reed <reedy@users.mediawiki.org> | 2011-10-26 04:15:09 +0000 |
---|---|---|
committer | Sam Reed <reedy@users.mediawiki.org> | 2011-10-26 04:15:09 +0000 |
commit | 4622da783cb5c02aa9ec7420946982a7d6ea78e4 (patch) | |
tree | 6edaf7588aa94b85b123c188d6928a613bb111a3 /tests/phpunit/includes/HttpTest.php | |
parent | 3c5ccee75cf3b6b428c3420eab5c50654ae65b7b (diff) | |
download | mediawikicore-4622da783cb5c02aa9ec7420946982a7d6ea78e4.tar.gz mediawikicore-4622da783cb5c02aa9ec7420946982a7d6ea78e4.zip |
More documentation!
Notes
Notes:
http://mediawiki.org/wiki/Special:Code/MediaWiki/100783
Diffstat (limited to 'tests/phpunit/includes/HttpTest.php')
-rw-r--r-- | tests/phpunit/includes/HttpTest.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/phpunit/includes/HttpTest.php b/tests/phpunit/includes/HttpTest.php index dd3207dbf1fe..7ddedb9b242f 100644 --- a/tests/phpunit/includes/HttpTest.php +++ b/tests/phpunit/includes/HttpTest.php @@ -48,7 +48,7 @@ class HttpTest extends MediaWikiTestCase { /** * Test Http::isValidURI() - * @bug 27854 : Http::isValidURI is to lax + * @bug 27854 : Http::isValidURI is too lax * @dataProvider provideURI */ function testIsValidUri( $expect, $URI, $message = '' ) { @@ -76,7 +76,7 @@ class HttpTest extends MediaWikiTestCase { array( false, '\\host\directory', 'CIFS share' ), array( false, 'gopher://host/dir', 'Reject gopher scheme' ), array( false, 'telnet://host', 'Reject telnet scheme' ), - + # :\/\/ - double slashes array( false, 'http//example.org', 'Reject missing colon in protocol' ), array( false, 'http:/example.org', 'Reject missing slash in protocol' ), |