Thank you!

On Sep 27, 6:32 pm, Jonathan Lundell <[email protected]> wrote:
> There's a bug.
>
> Massimo, here's a patch with updated test cases.
>
> http://lobitos.net/web2py-patches/gluon/validators.py
>
> On Sep 27, 2009, at 3:50 PM, Russell wrote:
>
>
>
> > Hi,
>
> > It seems that email addresses without a user portion (eg,
> > '[email protected]') will pass IS_EMAIL() validation.  Is this the
> > intended behavior?  See the tests below.
>
> > web2py Shell Version 1.67.1 (2009-09-17 13:33:20)
> > In[0]: IS_EMAIL()('whatever.com')
> > Out[0]: ('whatever.com', 'invalid email!')
> > In[1]: IS_EMAIL()('[email protected]')
> > Out[1]: ('[email protected]', None)
>
> > Thanks
> > Russell
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to