You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tapestry.apache.org by "Sven Homburg (JIRA)" <ji...@apache.org> on 2014/11/17 15:05:34 UTC

[jira] [Comment Edited] (TAP5-2417) email validator is not case sensetiv

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

Sven Homburg edited comment on TAP5-2417 at 11/17/14 2:05 PM:
--------------------------------------------------------------

this error occures only if using javascript validation

i think the validation pattern should change to:
{noformat}
[A-Za-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[A-Za-z0-9!#$%&'*+/=?^_`{|}~-]+)*@(?:[A-Za-z0-9](?:[A-Za-z0-9-]*[A-Za-z0-9])?\.)+[A-Za-z0-9](?:[A-Za-z0-9-]*[A-Za-z0-9])?
{noformat}


was (Author: homburgs):
this error occures only if using javascript validation

i think the validation pattern should change to:
[A-Za-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[A-Za-z0-9!#$%&'*+/=?^_`{|}~-]+)*@(?:[A-Za-z0-9](?:[A-Za-z0-9-]*[A-Za-z0-9])?\.)+[A-Za-z0-9](?:[A-Za-z0-9-]*[A-Za-z0-9])?

> email validator is not case sensetiv
> ------------------------------------
>
>                 Key: TAP5-2417
>                 URL: https://issues.apache.org/jira/browse/TAP5-2417
>             Project: Tapestry 5
>          Issue Type: Bug
>          Components: tapestry-core
>    Affects Versions: 5.4
>            Reporter: Sven Homburg
>
> if user input like John.Doe@test.com the validator returns an error



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)