On Thu, Sep 09, 2004 at 08:28:10PM +0100, Elfyn McBratney wrote:
> Hey Mathieu,
> 
> On Wed, Sep 08, 2004 at 06:41:13PM +0200, Mathieu Roy wrote:
> > 
> > Hi Elfyn,
> > 
> > You have an extra dot at the end of your email at Gna!
> >     [EMAIL PROTECTED]
> 
> Thanks for letting me know!  I have fixed it.
> 
> > I wonder how it was possible for you to validate such an address.
> 
> Hrmm.. the regex in validate_email() allow's for a dot in the hostname part but
> doesn't exclude it from being at the end.  Instead of compilcating the regex
> rurther, how about adding a check for a leading dot?  (Patch attached.)

I've just realised how broken that patch is.. but hopefully, you get the idea. :)

Elfyn

-- 
Elfyn McBratney
beu on irc.freenode.net/savannah.[non]gnu.org

PGP Key ID: 0x456548B4
PGP Key Fingerprint:
  29D5 91BB 8748 7CC9 650F 31FE 6888 0C2A 4565 48B4

Attachment: pgp8cpszkpxNG.pgp
Description: PGP signature

Reply via email to