Quantcast
Viewing all articles
Browse latest Browse all 2179

Commented Issue: Add user -> Email expect only generic domain (ie. .ca is not allowed) [93]

When creating a new user, the email field would not accept a .ca domain. I have to create the user with a wrong domain and edit the user later to change it back to the readl domain.
Comments: This regex will not work with international domain names and it will not work with quoted local part For example this is a perfectly valid email according to the rfc: "hello world"@rågär.se If using regex, go tor the extremely simple, like checking for something @ something. Anything beyond that and you will get false negatives. A comprehensive regex capable of most emails exceeds 8000 chars and will not work with international domains ;) We use Cobsi EmailVerify, which should handle all valid emails, they worked 6 months before passing our tests ;)

Viewing all articles
Browse latest Browse all 2179

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>