flex-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Justin Mclean (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (FLEX-24197) Email Validator allows for invalid email addresses
Date Tue, 30 Apr 2013 05:10:17 GMT

     [ https://issues.apache.org/jira/browse/FLEX-24197?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Justin Mclean updated FLEX-24197:
---------------------------------

    Description: 

The EmailValidator component allows for invalid email address of '.@adobe.com' for example.
This is the expected behavior. 

"The EmailValidator class validates that a String has a single @ sign, a period in the domain
name and that the top-level domain suffix has two, three, four, or six characters. IP domain
names are valid if they are enclosed in square brackets. The validator does not check whether
the domain and user name actually exist. " 

As we can see .@adobe.com still meets all the requirement for our default validation. While
.@adobe.com is not a valid email address in real world, it is valid as far as the program
class is concerned 

The problem can be worked around by using regular expression in text field or custom validation
class. 

ENHANCEMENT REQUEST - 

Although this is the default behavior/expect behavior of the Email Validator component, I
would like to request that Email Validator be extended to verify for valid email addresses.

    
> Email Validator allows for invalid email addresses
> --------------------------------------------------
>
>                 Key: FLEX-24197
>                 URL: https://issues.apache.org/jira/browse/FLEX-24197
>             Project: Apache Flex
>          Issue Type: New Feature
>    Affects Versions: Adobe Flex SDK Previous
>         Environment: Language Found: English
>            Reporter: Adobe JIRA
>
> The EmailValidator component allows for invalid email address of '.@adobe.com' for example.
This is the expected behavior. 
> "The EmailValidator class validates that a String has a single @ sign, a period in the
domain name and that the top-level domain suffix has two, three, four, or six characters.
IP domain names are valid if they are enclosed in square brackets. The validator does not
check whether the domain and user name actually exist. " 
> As we can see .@adobe.com still meets all the requirement for our default validation.
While .@adobe.com is not a valid email address in real world, it is valid as far as the program
class is concerned 
> The problem can be worked around by using regular expression in text field or custom
validation class. 
> ENHANCEMENT REQUEST - 
> Although this is the default behavior/expect behavior of the Email Validator component,
I would like to request that Email Validator be extended to verify for valid email addresses.


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message