Ralf Lang | 2 Apr 2012 08:39
Picon
Favicon

Turba doesn't allow localhost email addresses


Turba's Email field doesn't allow localhost addresses or any addresses
which just have a top level domain but now lower level.

This is caused by the Horde_Form_Type::_isRfc3696ValidEmailAddress
parser, line 2002 (because these are not public internet addresses)

RFC 3696 doesn't say an email address must be on a public domain.
In fact,  <at> localhost is a valid email address for local delivery.

Do you think we should remove that requirement?

--

-- 
Ralf Lang
Linux Consultant / Developer
Tel.: +49-170-6381563
Mail: lang <at> b1-systems.de

B1 Systems GmbH
Osterfeldstraße 7 / 85088 Vohburg / http://www.b1-systems.de
GF: Ralph Dehner / Unternehmenssitz: Vohburg / AG: Ingolstadt,HRB 3537
Jan Schneider | 3 Apr 2012 00:13
Favicon
Gravatar

Re: Turba doesn't allow localhost email addresses


Zitat von Ralf Lang <lang <at> b1-systems.de>:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Turba's Email field doesn't allow localhost addresses or any addresses
> which just have a top level domain but now lower level.
>
> This is caused by the Horde_Form_Type::_isRfc3696ValidEmailAddress
> parser, line 2002 (because these are not public internet addresses)
>
> RFC 3696 doesn't say an email address must be on a public domain.
> In fact,  <at> localhost is a valid email address for local delivery.
>
> Do you think we should remove that requirement?

I think we should leave it. PHP's FILTER_VALIDATE_EMAIL doesn't allow  
them either, and I can see us using that instead of a userland PHP  
validator.

-- 
Jan Schneider
The Horde Project
http://www.horde.org/

--

-- 
turba mailing list
Frequently Asked Questions: http://wiki.horde.org/FAQ
To unsubscribe, mail: turba-unsubscribe <at> lists.horde.org
(Continue reading)


Gmane