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

ictjob group

ictjob.be
Tel: +32 2 725 73 00
Terhulpsesteenweg, 6B
B-1560 Hoeilaart
ictjob.lu
Tel: +352 621 364 792
12, rue Eugène Ruppert
L-2453 Luxembourg
jobtic.fr
Tel: +33 9 81 25 19 66
19 rue Martel
75010 Paris
ticjob.es
Tel: +34 911 25 43 11
Calle Santo Tomé 4, 5B
28004 Madrid
ictjob.de
Tel: +49 711 91 41 07 32
Humboldtstr. 32
70771 Leinfelden-Echterdingen

Reply via email to