tapestry-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Otho <taa...@googlemail.com>
Subject Re: [T5] 5.0.18 Email validator validates 1@1
Date Tue, 06 Jan 2009 10:44:29 GMT
Thanks, I misread the regexp. then. But for all "real" email adresses which
are not on the local host or network, the hostname should have at least one
dot in it, regardless if it's an ip or a host with tld.

2009/1/5 Ulrich Stärk <uli@spielviel.de>

> Otho schrieb:
>> It just occured to me that the email validator used with the @Validate
>> annotation validates an email-address like 1@1, which shouldn't be
>> possible
>> when looking at the source of the Validator.
> To my knowledge, 1 is a perfectly legal (although odd) host name and thus
> qualifies for the domain part of an email address. This is taken into
> account by the domain part being an atom (which includes the digit 1) or a
> sequence of atoms seperated by dots. 1 for the local part is also legal.
> Uli
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: users-help@tapestry.apache.org

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message