3 ms·
What You Need to Know About ICANN's New Generic Top Level Domains
- MichaelApproved 15y agoThis blows out all email validation out there. The only thing left to verify is at least one character before @ along with at least three characters after the @ (including a period). Or did I miss something? Edit: personally, I think just checking for @ is enough. All were really trying to do is make sure the customer didn't accidentally put in his first name or some other field where his email belongs.
- werencole 15y agoNot sure I follow what you mean.
- MichaelApproved 15y agoWith the old domain name structure, a valid TLD would be 2-4 characters so you'd check to make sure the last segment of a domain fits that when validating email addresses. Now a TLD can be so much more there's no way to really validate it. I might be coming from an old school of programming where finding the right method to validate an email was important for form validation. Maybe others aren't so hung up on this issue.
- werencole 15y agoAh, I see.
- cbs 15y agoThis blows out all email validation out there You mean all half-assed email validation out there. They're broken to begin with, nobody does it right and the regex to match rfc822 addresses is big and ugly. Edit: found it: http://ex-parrot.com/~pdw/Mail-RFC822-Address.html http://ex-parrot.com/~pdw/Mail-RFC822-Address.html