ZF-8645: Newlines allowed by regular expression - Zend_Validate_Sitemap
Description
Regular expressons in the following classed validate values which include a trailing newline:
Zend_Validate_Sitemap_Lastmod
require_once 'Zend/Validate/Sitemap/Lastmod.php';
$v = new Zend_Validate_Sitemap_Lastmod;
var_dump($v->isValid("1994-11-05T08:15:30-05:00\n")); // TRUE
Comments
Posted by Thomas Weidner (thomas) on 2010-01-02T08:28:30.000+0000
Fixed with r20034