Return-Path: X-Original-To: apmail-struts-user-archive@www.apache.org Delivered-To: apmail-struts-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 8841B17784 for ; Sun, 12 Oct 2014 16:57:57 +0000 (UTC) Received: (qmail 92160 invoked by uid 500); 12 Oct 2014 16:57:56 -0000 Delivered-To: apmail-struts-user-archive@struts.apache.org Received: (qmail 92129 invoked by uid 500); 12 Oct 2014 16:57:56 -0000 Mailing-List: contact user-help@struts.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Struts Users Mailing List" Reply-To: "Struts Users Mailing List" Delivered-To: mailing list user@struts.apache.org Received: (qmail 92117 invoked by uid 99); 12 Oct 2014 16:57:55 -0000 Received: from mail-relay.apache.org (HELO mail-relay.apache.org) (140.211.11.15) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 12 Oct 2014 16:57:55 +0000 Received: from mail-yk0-f176.google.com (mail-yk0-f176.google.com [209.85.160.176]) by mail-relay.apache.org (ASF Mail Server at mail-relay.apache.org) with ESMTPSA id 154821A054F for ; Sun, 12 Oct 2014 16:57:45 +0000 (UTC) Received: by mail-yk0-f176.google.com with SMTP id q9so2902377ykb.21 for ; Sun, 12 Oct 2014 09:57:51 -0700 (PDT) X-Received: by 10.236.208.2 with SMTP id p2mr4470777yho.173.1413133071810; Sun, 12 Oct 2014 09:57:51 -0700 (PDT) MIME-Version: 1.0 Received: by 10.170.117.213 with HTTP; Sun, 12 Oct 2014 09:57:31 -0700 (PDT) In-Reply-To: References: From: Lukasz Lenart Date: Sun, 12 Oct 2014 18:57:31 +0200 Message-ID: Subject: Re: FYI: Email Field Validator Always Fails in iOS 7 Safari Browser To: Struts Users Mailing List Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable 2014-10-11 4:20 GMT+02:00 John Boyer : > Hi All: > > We=E2=80=99re using the latest version of Struts 2 in production and we= =E2=80=99ve found that the client-side XML email validator always fails in = the iOS 7.1 Safari browser. We haven=E2=80=99t tested it iOS 8 yet. However= , removing the email validation from the following XML solved the problem. > > > > true > Email address is invalid > > > > Incidentally, the XML email validator works fine in Safari for Mac OS X. This validator performs simple JS regex match on that expression [1] - so I would assume iOS 7.1 has broken regex engine ;-) [1] https://github.com/apache/struts/blob/09012d7e5f7177002893da3b2add091b0= 4c62657/xwork-core/src/main/java/com/opensymphony/xwork2/validator/validato= rs/EmailValidator.java#L83 Regards --=20 =C5=81ukasz + 48 606 323 122 http://www.lenart.org.pl/ --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@struts.apache.org For additional commands, e-mail: user-help@struts.apache.org