You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Mohsen (JIRA)" <de...@myfaces.apache.org> on 2011/02/19 07:22:38 UTC

[jira] Commented: (TOMAHAWK-901) EmailValidator considers leading-trailing whitespaces as invalid

    [ https://issues.apache.org/jira/browse/TOMAHAWK-901?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12996711#comment-12996711 ] 

Mohsen commented on TOMAHAWK-901:
---------------------------------

I believe the previous behavior was correct, as leading or trailing whitespace, makes an email invalid.

This change caused a number of invalid emails in our database, as we didn't trimmed email address in the server side. Shouldn't be there an attribute for accepting or rejecting trailing/leading whitespaces?

> EmailValidator considers leading-trailing whitespaces as invalid
> ----------------------------------------------------------------
>
>                 Key: TOMAHAWK-901
>                 URL: https://issues.apache.org/jira/browse/TOMAHAWK-901
>             Project: MyFaces Tomahawk
>          Issue Type: Bug
>          Components: Validators
>    Affects Versions: 1.1.4-SNAPSHOT, 1.1.5-SNAPSHOT
>            Reporter: Cagatay Civici
>            Assignee: Cagatay Civici
>             Fix For: 1.1.5
>
>
> When there are leading or trailing whitespaces in a valid email, validator considers it as invalid

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira