hi,

In wicket.markup.html.form.validation.EmailAddressPatternValidator.java the validation-_expression_ is incorrect.
the regular _expression_ reads:
^[_a-z0-9-]+(\\.[_a-z0-9-]+)[EMAIL PROTECTED](\\.[a-z0-9-]+)*(\\.[a-z]{2,3})$

According to this _expression_ the TLD is 2 or 3 characters, but that's incorrect.
Nowadays it can exceed the limit of 3 characters (for example: ".aero" or ".travel". Source: http://www.iana.org/gtld/gtld.htm ).

Michiel


_______________________________________________
Wicket-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to