ZF-318: Zend_Filter_Input::testEmail does not work

Issue Type: Bug Created: 2006-08-13T03:55:02.000+0000 Last Updated: 2007-07-05T14:44:31.000+0000 Status: Closed Fix version(s): Reporter: Sebastian Nohn (nohn) Assignee: Bill Karwin (bkarwin) Tags: - Zend_Filter

Related issues: - ZF-42



testEmail('email')); ?> returns false. expected true in this case.


Posted by Uros (sekundek) on 2006-08-14T05:53:12.000+0000

I think you missed that

$filterPost = new Zend_Filter_Input($_POST['email']);

Posted by Sebastian Nohn (nohn) on 2006-08-14T06:37:50.000+0000

I don't think so.


works as expected. Why should I do $filterPost = new Zend_Filter_Input($_POST['email']);? I want to filter $_POST not an element of Post.

By the way, it's documented like I did ;)

Posted by Matt Schmidt (sloat) on 2006-08-14T22:15:21.000+0000

Zend_Filter_Input::testEmail relies on Zend_Filter::isEmail, which unfortunately, does not have any code in it.

More info: [ZF-42] Probably even more on the mailing list.

Posted by Bill Karwin (bkarwin) on 2006-09-25T19:44:20.000+0000

Reassigning from Jayson to Bill Karwin, pending further triage.

Have you found an issue?

See the Overview section for more details.


© 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.