Return-Path: X-Original-To: apmail-cxf-commits-archive@www.apache.org Delivered-To: apmail-cxf-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id CF40318E72 for ; Thu, 21 Jan 2016 12:10:44 +0000 (UTC) Received: (qmail 96691 invoked by uid 500); 21 Jan 2016 12:10:44 -0000 Delivered-To: apmail-cxf-commits-archive@cxf.apache.org Received: (qmail 96518 invoked by uid 500); 21 Jan 2016 12:10:44 -0000 Mailing-List: contact commits-help@cxf.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cxf.apache.org Delivered-To: mailing list commits@cxf.apache.org Received: (qmail 96497 invoked by uid 99); 21 Jan 2016 12:10:44 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 21 Jan 2016 12:10:44 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 84E20DFBC6; Thu, 21 Jan 2016 12:10:44 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: coheigea@apache.org To: commits@cxf.apache.org Date: Thu, 21 Jan 2016 12:10:45 -0000 Message-Id: <78b9034109764418a3963485ca2ee069@git.apache.org> In-Reply-To: <2e21a119741849ad97a9fc20fe5dcfcb@git.apache.org> References: <2e21a119741849ad97a9fc20fe5dcfcb@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: [2/5] cxf-fediz git commit: Fixing last commit Fixing last commit Project: http://git-wip-us.apache.org/repos/asf/cxf-fediz/repo Commit: http://git-wip-us.apache.org/repos/asf/cxf-fediz/commit/c23eb878 Tree: http://git-wip-us.apache.org/repos/asf/cxf-fediz/tree/c23eb878 Diff: http://git-wip-us.apache.org/repos/asf/cxf-fediz/diff/c23eb878 Branch: refs/heads/1.2.x-fixes Commit: c23eb8786279034e8492a1499f376a554dc4de80 Parents: 9a76f51 Author: Colm O hEigeartaigh Authored: Thu Jan 21 11:26:12 2016 +0000 Committer: Colm O hEigeartaigh Committed: Thu Jan 21 12:10:03 2016 +0000 ---------------------------------------------------------------------- .../org/apache/cxf/fediz/service/idp/beans/STSClientAction.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cxf-fediz/blob/c23eb878/services/idp/src/main/java/org/apache/cxf/fediz/service/idp/beans/STSClientAction.java ---------------------------------------------------------------------- diff --git a/services/idp/src/main/java/org/apache/cxf/fediz/service/idp/beans/STSClientAction.java b/services/idp/src/main/java/org/apache/cxf/fediz/service/idp/beans/STSClientAction.java index a323775..033d5c6 100644 --- a/services/idp/src/main/java/org/apache/cxf/fediz/service/idp/beans/STSClientAction.java +++ b/services/idp/src/main/java/org/apache/cxf/fediz/service/idp/beans/STSClientAction.java @@ -314,7 +314,7 @@ public class STSClientAction { // Validate it first using commons-validator String[] schemes = {"https"}; - UrlValidator urlValidator = new UrlValidator(schemes); + UrlValidator urlValidator = new UrlValidator(schemes, UrlValidator.ALLOW_LOCAL_URLS); if (!urlValidator.isValid(wreply)) { LOG.warn("The given wreply parameter {} is not a valid URL", wreply); throw new ProcessingException(TYPE.BAD_REQUEST);