Return-Path: X-Original-To: apmail-struts-issues-archive@minotaur.apache.org Delivered-To: apmail-struts-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id B4C2F18B62 for ; Sat, 28 Nov 2015 16:56:16 +0000 (UTC) Received: (qmail 29893 invoked by uid 500); 28 Nov 2015 16:56:11 -0000 Delivered-To: apmail-struts-issues-archive@struts.apache.org Received: (qmail 29854 invoked by uid 500); 28 Nov 2015 16:56:11 -0000 Mailing-List: contact issues-help@struts.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@struts.apache.org Delivered-To: mailing list issues@struts.apache.org Received: (qmail 29826 invoked by uid 99); 28 Nov 2015 16:56:11 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 28 Nov 2015 16:56:11 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 25A602C1F5B for ; Sat, 28 Nov 2015 16:56:11 +0000 (UTC) Date: Sat, 28 Nov 2015 16:56:11 +0000 (UTC) From: "Hudson (JIRA)" To: issues@struts.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (WW-4569) EmailValidator flags .tech emails as invalid MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/WW-4569?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15030591#comment-15030591 ] Hudson commented on WW-4569: ---------------------------- SUCCESS: Integrated in Struts-JDK6-support-2.3 #937 (See [https://builds.apache.org/job/Struts-JDK6-support-2.3/937/]) WW-4569 Adds support for .tech (lukaszlenart: rev 38e8f86a75c82033d657e1ed5e52d864ea9eafa3) * xwork-core/src/main/java/com/opensymphony/xwork2/validator/validators/EmailValidator.java > EmailValidator flags .tech emails as invalid > -------------------------------------------- > > Key: WW-4569 > URL: https://issues.apache.org/jira/browse/WW-4569 > Project: Struts 2 > Issue Type: Bug > Components: XML Validators > Affects Versions: 2.3.24 > Environment: Linux, AWS > Reporter: Omer Dawelbeit > Fix For: 2.3.25, 2.5 > > > I've a customer with .tech email who gets an invalid email error message, my validation.xml contains the following > {code:xml} > > > > > > > > > > > > > > > > > {code} > After checking the documentation at > https://struts.apache.org/docs/email-validator.html it seems the pattern doesn't not include .tech domain, which I believe were introduced in March 2015: > {noformat} > \\b^['_a-z0-9-\\+](\\.['_a-z0-9-\\+])@[a-z0-9-](\\.[a-z0-9-])\\.([a-z]{2}|aero|arpa|asia|biz|com|coop|edu|gov|info|int|jobs|mil|mobi|museum|name|nato|net|org|pro|tel|travel|xxx)$\\b > {noformat} > Any workaround would be appreciated -- This message was sent by Atlassian JIRA (v6.3.4#6332)