ZF-3435: Zend_Validate_Ip does not work as expected/documented
Description
phpdoc of Zend_Validate_Ip::isValid() says "Returns true if and only if $value is a valid IP address". But in ZF Versions 1.5.2 and before strings like "192.168.10" or "192.168.10.10 asdf" are successfully validated, too. What in my opinion should not happen, especially the second case.
Comments
Posted by Maurice Fonk (naneau) on 2008-06-23T10:28:13.000+0000
Seeing as how this bug could have serious security issues for those who rely on the validator, and the relative ease it can be fixed with, I would like to attract a bit of attention to it.
Posted by Thomas Weidner (thomas) on 2008-11-06T12:29:40.000+0000
Added unittest for this case with r12342. Issue already fixed.
Posted by Wil Sinclair (wil) on 2008-11-13T14:09:59.000+0000
Changing issues in preparation for the 1.7.0 release.