struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dave Newton <davelnew...@gmail.com>
Subject Re: EmailValidator
Date Mon, 13 Dec 2010 17:20:13 GMT
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" <angrygreg@gmail.com> wrote:
> I just tried to use angrygreg+xxx@gmail.com <angrygreg%2Bxxx@gmail.com> as
an email , and the
> Struts EmailValidator doesn't like it (Struts 2.2.1)
>
> I'm not that great at reading regexp.. it looks like maybe the regexp
> should support that email address.. but I'm not sure.
>
> Can anyone comment on whether EmailValidator is the best approach?
>
> --
> Greg Akins
>
> http://insomnia-consulting.org
> http://www.pghcodingdojo.org
> http://pittjug.dev.java.net
> http://twitter.com/akinsgre
> http://www.linkedin.com/in/akinsgre
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>

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