ZF-8559: Zend_Validator_Hostname domain parts


For example,

$validator = new Zend_Validate_Hostname(); Zend_Debug::dump($validator->isValid('fgfg.some here with white'));

Result is 'true'!

When debug with trace Zend_Validate_Hostname::isValid method I see what only one part of hostname check at 'foreach ($domainParts as $domainPart) {' (line 479) All other skiped by break at line 517

So, all hostname with any chars at non first part ant tld has true result.

Maybe my wrong?

File info: * @version $Id: Hostname.php 17141 2009-07-26 12:49:17Z thomas $


Not reproducable within trunk