News for hackers. Stuff that matters.
Re:Valid Email Addresses by fayden on Friday November 30, 2012 @02:16PM (#4854916)
Why not use a librairy that validates emails? You save time, and you actually accept valid emails.

I agree that the example with a lot of symbols is over the top, but when a website doesn't accept [email protected], I assume the product will be sub-par quality wise. The author did not follow of rigorous process for something as simple as email validation, I doubt he'll be more rigorous in other parts of his project.

Re:Valid Email Addresses by pyre on Friday November 30, 2012 @02:47PM (#4855075)
There are other concerns too. I submitted a bug report to Zappos because their emailer did not URL-escape '+' in [email protected]. Resulting in:

  http://www.zappos.com/[email protected]
which was treated as:

  http://www.zappos.com/?email=foo%[email protected]
by the browser. It worked fine when I manually encoded the '+'.
Re:Valid Email Addresses by michaelhoffman on Friday November 30, 2012 @03:07PM (#4855169)
I've given up on using + addresses. As other people have pointed out, the worst thing about them is that sometimes you will find that it works initially but will break other parts of the application now or later. For example, account creation works fine, but in two years, you can no longer log in.