You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cxf.apache.org by co...@apache.org on 2016/01/21 13:01:01 UTC
[2/4] 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/18f40e3f
Tree: http://git-wip-us.apache.org/repos/asf/cxf-fediz/tree/18f40e3f
Diff: http://git-wip-us.apache.org/repos/asf/cxf-fediz/diff/18f40e3f
Branch: refs/heads/master
Commit: 18f40e3fbd6e9c86b68f6a6070af3dbe2588ea1d
Parents: a94c0a6
Author: Colm O hEigeartaigh <co...@apache.org>
Authored: Thu Jan 21 11:26:12 2016 +0000
Committer: Colm O hEigeartaigh <co...@apache.org>
Committed: Thu Jan 21 12:00:56 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/18f40e3f/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 4082bef..fcd3f8e 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
@@ -317,7 +317,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);