Stripes

Email validator is unnecessarily feeble

Details

  • Type: Improvement Improvement
  • Status: Closed Closed
  • Priority: Major 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);

Activity

Hide
Frederic Daoud added a comment - 14/Sep/09 9:13 PM

Fixed in build 1140.

Show
Frederic Daoud added a comment - 14/Sep/09 9:13 PM Fixed in build 1140.

People

Vote (0)
Watch (0)

Dates

  • Created:
    11/Aug/09 8:33 AM
    Updated:
    04/Jan/11 1:24 PM
    Resolved:
    27/Oct/09 2:20 PM