Bitcoin Forum

Other => Meta => Topic started by: dree12 on February 08, 2013, 09:30:20 PM



Title: Fix email validation!
Post by: dree12 on February 08, 2013, 09:30:20 PM
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?


Title: Re: Fix email validation!
Post by: theymos on February 09, 2013, 03:46:47 AM
It works for me.


Title: Re: Fix email validation!
Post by: dree12 on February 09, 2013, 10:13:01 PM
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.


Title: Re: Fix email validation!
Post by: 🏰 TradeFortress 🏰 on February 09, 2013, 10:42:08 PM
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?


Title: Re: Fix email validation!
Post by: dree12 on February 09, 2013, 10:46:03 PM
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.


Title: Re: Fix email validation!
Post by: K1773R on February 09, 2013, 10:47:50 PM
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


Title: Re: Fix email validation!
Post by: dree12 on February 10, 2013, 01:11:26 AM
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.


Title: Re: Fix email validation!
Post by: 21after2 on February 10, 2013, 01:13:49 AM
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.


Title: Re: Fix email validation!
Post by: K1773R on February 10, 2013, 01:57:31 AM
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 :P