News for hackers. Stuff that matters.
Re:How not to validate email addresses by inthewind on Monday October 14, 2013 @03:28PM (#6549099)
Also sometimes you don't even need the TLD:

user@myhostname, is a valid email address, and yet it's rejected by a lot of libraries.

Re:How not to validate email addresses by dfox on Monday October 14, 2013 @03:52PM (#6549246)
It's certainly valid address, but why would you want to input that as an email address into public-facing service that you do not operate?
Re:How not to validate email addresses by inthewind on Monday October 14, 2013 @05:12PM (#6549674)
Perhaps I do operate it. Can be very useful on say a dev box.
Re:How not to validate email addresses by bluedino on Monday October 14, 2013 @03:50PM (#6549236)
Just because it's a valid address doesn't mean a real user is going to sign up for an account using a domain without a TLD.
Re:How not to validate email addresses by inthewind on Monday October 14, 2013 @05:21PM (#6549723)
Perhaps users are aware of relative domain names and addressing. You even see this on a service like gmail's login. A user with the address [email protected] doesn't have to enter '@gmail.com' when logging in - just 'example'. But actually either will do. Further it's not totally clear for a user what to enter here. Is a username/id is the same thing as an email address or not.

My aunt swears blind that an email address without the name in double quotes and the domainy bit is not a correct email address. She types the lot out.