Issues

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

Fixed with r20034