[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-pim
Subject:    Re: [Kde-pim] Review Request: Return error when email address ends
From:       Ingo =?iso-8859-1?q?Kl=F6cker?= <kloecker () kde ! org>
Date:       2009-08-26 22:20:06
Message-ID: 200908270020.06867 () thufir ! ingo-kloecker ! de
[Download RAW message or body]

[Attachment #2 (multipart/signed)]


On Wednesday 26 August 2009, Gary Greene wrote:
> On 8/26/09 11:08 AM, "Martin Koller" <kollix@aon.at> wrote:
> > On Wednesday 26 August 2009, Torgny Nyblom wrote:
> >> Check if an email address ends with '.'. If this is the case
> >> return an error. Add unit tests for this as well as for the
> >> "isValidAddressList()" function.
> >
> > I think it is valid that an email address's domain ends with a "."
> > Have a look at RFC 1035
>
> This is legal according to the RFCs since email clients are supposed
> to treat this no differently than DNS clients.

I never came across a domain name ending in '.'. Even if it's valid we 
should still flag this as an error IMO since it is much more likely 
that a user accidentally typed a stray '.' than that he really meant to 
add a trailing '.' to a domain name.



Regards,
Ingo

["signature.asc" (application/pgp-signature)]

_______________________________________________
KDE PIM mailing list kde-pim@kde.org
https://mail.kde.org/mailman/listinfo/kde-pim
KDE PIM home page at http://pim.kde.org/

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic