Thanks Lukasz, we will try the upgrade.
Best regards, Thim. On 01/29/2013 08:20 PM, Lukasz Lenart wrote: 2013/1/29 Thim Anneessens <t.anneess...@ictjob.be>Hello,The '+' character is a valid email address character. The Struts email validator (com.opensymphony.xwork2.validator.validators.EmailValidator) does not support the '+' character. I noticed that the validator implementation is custom (using a regex). Maybe it would be better to use already existing implementation (java and apache commons have one).This was already reported [1] and resolved with version 2.3.7, with upcoming release you will be able to specify regexp for your own with ${regexExpression} _expression_ of email validator [2] (email validator extends regex validator [3]) [1] https://issues.apache.org/jira/browse/WW-3883 [2] http://struts.apache.org/2.x/docs/email-validator.html [3] http://struts.apache.org/2.x/docs/regex-validator.html Regards --
Thim Anneessens
IT Department ![]()
|
- Bug with email validatior - Does not accept valid characte... Thim Anneessens
- Re: Bug with email validatior - Does not accept valid... Lukasz Lenart
- Re: Bug with email validatior - Does not accept v... Thim Anneessens