The validation for invitation emails would be improved by changing
unless email =~ /[\w._%...@[\w.-]+.[a-za-z]{2,4}/
to
unless email =~ /^[\w._%...@[\w.-]+.[a-za-z]{2,4}$/
Otherwise emails such as "#!%& [email protected] #$^()" pass. I've
tried it on http://rubular.com/
--
You received this message because you are subscribed to the Google Groups
"CommunityEngine" 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/communityengine?hl=en.