Author

Topic: Fix email validation! (Read 870 times)

legendary
Activity: 1792
Merit: 1008
/dev/null
February 09, 2013, 08: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, 08: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: 1077
February 09, 2013, 08: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, 05: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: 1077
February 09, 2013, 05: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: 1316
Merit: 1043
👻
February 09, 2013, 05: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: 1077
February 09, 2013, 05: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: 5222
Merit: 13032
February 08, 2013, 10:46:47 PM
#2
It works for me.
legendary
Activity: 1246
Merit: 1077
February 08, 2013, 04: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: