Issues

ZF-3435: Zend_Validate_Ip does not work as expected/documented

Issue Type: Bug Created: 2008-06-11T00:21:39.000+0000 Last Updated: 2008-11-13T14:09:59.000+0000 Status: Resolved Fix version(s): - 1.7.0 (17/Nov/08)

Reporter: Joachim Knust (jknust) Assignee: Thomas Weidner (thomas) Tags: - Zend_Validate

Related issues: Attachments:

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.

Have you found an issue?

See the Overview section for more details.

Copyright

© 2006-2016 by Zend, a Rogue Wave Company. Made with by awesome contributors.

This website is built using zend-expressive and it runs on PHP 7.

Contacts