[
https://issues.apache.org/jira/browse/VALIDATOR-322?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14267382#comment-14267382
]
Ralf Hauser commented on VALIDATOR-322:
---------------------------------------
Or "I am more than happy if my server doesn't even notice most of my users'
input errors because they are dealt with in the browser as *first line of
defense* by Validator-generated JavaScript / input.pattern and my server is
glad to tackle the few browser-false-positives that get there..."
> Java code and javascript code are not same!
> -------------------------------------------
>
> Key: VALIDATOR-322
> URL: https://issues.apache.org/jira/browse/VALIDATOR-322
> Project: Commons Validator
> Issue Type: Bug
> Components: JavaScript
> Affects Versions: 1.4.0 Release
> Environment: All
> Reporter: Kiran
>
> The email id "user@domain_name.com" is invalid when i check from java
> (EmailValidator.getInstance().isValid("user@domain_name.com")).
> But when I check in javascript, it says it is a valid one
> (jcv_checkEmail('user@domain_name.com')).
> I know it is invalid because it has underscore in domain name.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)