[Solar-svn] Revision 2588
pmjones at solarphp.com
pmjones at solarphp.com
Thu Jul 12 16:31:35 CDT 2007
added test for URIs that have tabs or newlines
Modified: trunk/tests/Solar/DataFilterTest.php
===================================================================
--- trunk/tests/Solar/DataFilterTest.php 2007-07-12 21:26:09 UTC (rev 2587)
+++ trunk/tests/Solar/DataFilterTest.php 2007-07-12 21:31:34 UTC (rev 2588)
@@ -1557,6 +1557,9 @@
'ab-db cd-ef',
'example.com',
'http://',
+ "http://example.com\r/index.html",
+ "http://example.com\n/index.html",
+ "http://example.com\t/index.html",
);
foreach ($test as $val) {
$this->assertFalse($filter->validateUri($val));
More information about the Solar-svn
mailing list