Author

Topic: Fix email validation! (Read 855 times)

legendary
Activity: 1792
Merit: 1008
/dev/null
February 09, 2013, 09:57:31 PM
#9
It works for me.

Ah, it supports the raw plus sign but throws up when quotes and spaces are involved. I guess this issue is closed.

Regardless, it seems like a terrible idea to verify email addresses. If this is to prevent SQL injection, I'm sure there are many other ways to do it.
Hmm? Email address can have spaces?

I'm not an expert on this, but AFAIK anything before the @ is good as long as @, ", and \ are backslash-escaped and spaces are between quotes. However, it is extremely rare for email addresses to have @ or \ in them.

"John Doe"@john.doe.com is a valid email address format though, so it makes little sense to reject it.
no, this is against the RFC

I've never personally had an email address like that, but I know people who did. Organizations in the day used quoted names as email addresses.

I guess even if the RFC bans it, people still use those addresses and they should not be banned.

I've never seen an email address with a space in it. Hell, I didn't know it was possible. Learn something new every day, I suppose.
good to see, so my postfix got another spamfilter -> filtering emails from retards Tongue
member
Activity: 112
Merit: 16
February 09, 2013, 09:13:49 PM
#8
It works for me.

Ah, it supports the raw plus sign but throws up when quotes and spaces are involved. I guess this issue is closed.

Regardless, it seems like a terrible idea to verify email addresses. If this is to prevent SQL injection, I'm sure there are many other ways to do it.
Hmm? Email address can have spaces?

I'm not an expert on this, but AFAIK anything before the @ is good as long as @, ", and \ are backslash-escaped and spaces are between quotes. However, it is extremely rare for email addresses to have @ or \ in them.

"John Doe"@john.doe.com is a valid email address format though, so it makes little sense to reject it.
no, this is against the RFC

I've never personally had an email address like that, but I know people who did. Organizations in the day used quoted names as email addresses.

I guess even if the RFC bans it, people still use those addresses and they should not be banned.

I've never seen an email address with a space in it. Hell, I didn't know it was possible. Learn something new every day, I suppose.
legendary
Activity: 1246
Merit: 1076
February 09, 2013, 09:11:26 PM
#7
It works for me.

Ah, it supports the raw plus sign but throws up when quotes and spaces are involved. I guess this issue is closed.

Regardless, it seems like a terrible idea to verify email addresses. If this is to prevent SQL injection, I'm sure there are many other ways to do it.
Hmm? Email address can have spaces?

I'm not an expert on this, but AFAIK anything before the @ is good as long as @, ", and \ are backslash-escaped and spaces are between quotes. However, it is extremely rare for email addresses to have @ or \ in them.

"John Doe"@john.doe.com is a valid email address format though, so it makes little sense to reject it.
no, this is against the RFC

I've never personally had an email address like that, but I know people who did. Organizations in the day used quoted names as email addresses.

I guess even if the RFC bans it, people still use those addresses and they should not be banned.
legendary
Activity: 1792
Merit: 1008
/dev/null
February 09, 2013, 06:47:50 PM
#6
It works for me.

Ah, it supports the raw plus sign but throws up when quotes and spaces are involved. I guess this issue is closed.

Regardless, it seems like a terrible idea to verify email addresses. If this is to prevent SQL injection, I'm sure there are many other ways to do it.
Hmm? Email address can have spaces?

I'm not an expert on this, but AFAIK anything before the @ is good as long as @, ", and \ are backslash-escaped and spaces are between quotes. However, it is extremely rare for email addresses to have @ or \ in them.

"John Doe"@john.doe.com is a valid email address format though, so it makes little sense to reject it.
no, this is against the RFC
legendary
Activity: 1246
Merit: 1076
February 09, 2013, 06:46:03 PM
#5
It works for me.

Ah, it supports the raw plus sign but throws up when quotes and spaces are involved. I guess this issue is closed.

Regardless, it seems like a terrible idea to verify email addresses. If this is to prevent SQL injection, I'm sure there are many other ways to do it.
Hmm? Email address can have spaces?

I'm not an expert on this, but AFAIK anything before the @ is good as long as @, ", and \ are backslash-escaped and spaces are between quotes. However, it is extremely rare for email addresses to have @ or \ in them.

"John Doe"@john.doe.com is a valid email address format though, so it makes little sense to reject it.
vip
Activity: 1302
Merit: 1042
👻
February 09, 2013, 06:42:08 PM
#4
It works for me.

Ah, it supports the raw plus sign but throws up when quotes and spaces are involved. I guess this issue is closed.

Regardless, it seems like a terrible idea to verify email addresses. If this is to prevent SQL injection, I'm sure there are many other ways to do it.
Hmm? Email address can have spaces?
legendary
Activity: 1246
Merit: 1076
February 09, 2013, 06:13:01 PM
#3
It works for me.

Ah, it supports the raw plus sign but throws up when quotes and spaces are involved. I guess this issue is closed.

Regardless, it seems like a terrible idea to verify email addresses. If this is to prevent SQL injection, I'm sure there are many other ways to do it.
administrator
Activity: 5166
Merit: 12850
February 08, 2013, 11:46:47 PM
#2
It works for me.
legendary
Activity: 1246
Merit: 1076
February 08, 2013, 05:30:20 PM
#1
SMF does not seem to support '+' symbols in email addresses. I attempted to put a "+bitcointalk" into my email address so that forum-related email could be filtered, but SMF rejected it.

Could this be fixed?
Jump to: