TBF, it was a really old version of XWork. It was addressed and made more
complicated in the most recent version at the time I looked into it (still
not *fixed*, though ... everyone knows how to validate an email address
until they actually read the RFCs!).
-Brian
On Mon, Dec 13, 2010 at 1:00
On Mon, Dec 13, 2010 at 1:50 PM, Brian Thompson wrote:
> I've looked into this before. The email validator resolved down to some
> really old code in XWork with a regex that looked something like this:
>
> [a-z0-...@[a-z0-9].[a-z]^3
Thanks.. I hadn't looked at the source.. It looks like the API
On Mon, Dec 13, 2010 at 12:20 PM, Dave Newton wrote:
> IIRC the default email validator isn't as robust as the page- long RFC email
> regex. I'd suggest either a patch, ora custom validator.
>
Thanks. I'll try to submit a patch after I get something more robust working
-
I've looked into this before. The email validator resolved down to some
really old code in XWork with a regex that looked something like this:
[a-z0-...@[a-z0-9].[a-z]^3
I strongly agree with Dave's advice. Broken email validators are too common
on the web.
-Brian
On Mon, Dec 13, 2010 at 11:
IIRC the default email validator isn't as robust as the page- long RFC email
regex. I'd suggest either a patch, ora custom validator.
Dave
On Dec 13, 2010 12:11 PM, "Greg Akins" wrote:
> I just tried to use angrygreg+...@gmail.com as
an email , and the
> Struts EmailValidator doesn't like it (S
5 matches
Mail list logo