Thank you!
On Sep 27, 6:32 pm, Jonathan Lundell <jlund...@pobox.com> 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,
> > '....@whatever.com') 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()('....@whatever.com')
> > Out[1]: ('....@whatever.com', 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 web2py@googlegroups.com
To unsubscribe from this group, send email to
web2py+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---