I already found the problem: I sanitized all data before writing it to
the database thus the dash was escaped and the validation failed as it
should.
Juergen
On 29 Sep., 09:44, "glenda guo" <gettyy...@gmail.com> wrote:
> You can reference this pagehttp://cakebaker.42dh.com/2007/01/03/validation-with-cakephp-12/
>
> On Mon, Sep 29, 2008 at 3:22 PM, JuergenRiemer <juergen.rie...@gmail.com>wrote:
>
>
>
> > Hi,
>
> > afaik dashes are allowed in email adresses; why does the validation
> > module let them fail? do I overlook sg here, I am a bit puzzled since
> > this validation should be quite well elaborated by now and I found
> > just one post in that concern that wasn't really answered.
> > Validation fails with and without domain check ( 'rule' =>
> > array('email') and 'rule' => array('email', true) )
>
> > thx
> > Juergen
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to cake-php+unsubscribe@googlegroups.com
For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---
No comments:
Post a Comment