Details
-
Type:
Improvement
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: Release 1.5.2, Release 1.6
-
Component/s: Validation
-
Labels:None
-
Environment:N/A
Description
The email validation in EmailTypeConverter is very weak, it uses the 'no validation' constructor in the JavaMail InternetAddress class instead of the one that validates emails.
InternetAddress address = new InternetAddress(input);
should be replaced with
InternetAddress address = new InternetAddress(input, true);
Fixed in build 1140.