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
-~----------~----~----~----~------~----~------~--~---

Reply via email to