Forum Settings
       
Reply To Thread

Email validationFollow

#1 Apr 15 2010 at 1:37 PM Rating: Sub-Default
***
1,142 posts
I just tried changing my email and got:
Quote:
Invalid email address.


Trying to not go on a full rant here, but please read up on RFC 5322 if you are going to run/develop a website.

Or read this:
http://www.reddit.com/r/programming/comments/bo60o/like_many_gmail_users_i_use_a_sign_in_my_email/

Please fix this and don't disallow email addresses that are actually valid.

-A fellow web dev

Edited, Apr 15th 2010 3:37pm by Zenoxio

Edited, Apr 15th 2010 3:38pm by Zenoxio
#2 Apr 15 2010 at 3:06 PM Rating: Excellent
Guru
***
1,274 posts
It should be fixed now.

The problem was not due to failure to follow the standard for allowable email addresses, but rather to do with URI encoding the address when it was passed back to the server via ajax. As you may know, + is treated as a space in URIs, which caused Mail::RFC822::Address to report it as invalid.
#3 Apr 15 2010 at 3:30 PM Rating: Decent
***
1,142 posts
Thanks.
#4 Apr 15 2010 at 5:14 PM Rating: Excellent
****
5,159 posts
Zenoxio wrote:
I just tried changing my email and got:
Quote:
Invalid email address.


Trying to not go on a full rant here, but please read up on RFC 5322 if you are going to run/develop a website.

Or read this:
http://www.reddit.com/r/programming/comments/bo60o/like_many_gmail_users_i_use_a_sign_in_my_email/

Please fix this and don't disallow email addresses that are actually valid.

-A fellow web dev

As a fellow web dev, you could have the basic etiquette to realize the bugs are a part of any website and simply say "Hey, there's a bug here" instead of acting like they're horrible developers for having a small error on one of their pages.
#5REDACTED, Posted: Apr 15 2010 at 11:22 PM, Rating: Sub-Default, (Expand Post) There's no way for a normal user to realize that's a bug. It simply said the email was invalid and to me that logically meant the devs are unfamiliar with RFC 5322 if they make special characters invalid.
#6 Apr 15 2010 at 11:24 PM Rating: Good
Zenoxio wrote:
There's no way for a normal user to realize that's a bug. It simply said the email was invalid and to me that logically meant the devs are unfamiliar with RFC 5322 if they make special characters invalid.

Yes, it was a bug and I know that now.


I once heard a rumor about this thing called, "the benefit of the doubt." Not sure if there's anything to it, though.
#7 Apr 16 2010 at 10:05 AM Rating: Good
****
5,159 posts
Zenoxio wrote:
There's no way for a normal user to realize that's a bug. It simply said the email was invalid and to me that logically meant the devs are unfamiliar with RFC 5322 if they make special characters invalid.

Yes, it was a bug and I know that now.

"Normal user" is incompatible with what you just said. If you honestly couldn't imagine that a bug caused this sort of problem, you're a horrible web developer. And even if it was an issue with the RFC standard, that doesn't mean you have to foam at the mouth instead of just pointing it out.
Reply To Thread

Colors Smileys Quote OriginalQuote Checked Help

 

Recent Visitors: 111 All times are in CST
Anonymous Guests (111)