Repository: cxf Updated Branches: refs/heads/master 40b898684 -> 3d7db466f
Fix to allow https which was excluded by my last change Project: http://git-wip-us.apache.org/repos/asf/cxf/repo Commit: http://git-wip-us.apache.org/repos/asf/cxf/commit/3d7db466 Tree: http://git-wip-us.apache.org/repos/asf/cxf/tree/3d7db466 Diff: http://git-wip-us.apache.org/repos/asf/cxf/diff/3d7db466 Branch: refs/heads/master Commit: 3d7db466f8a2c5188a5d7038f9fbe8a633679750 Parents: 40b8986 Author: Christian Schneider <[email protected]> Authored: Mon Mar 3 17:00:17 2014 +0100 Committer: Christian Schneider <[email protected]> Committed: Mon Mar 3 17:00:17 2014 +0100 ---------------------------------------------------------------------- .../src/main/java/org/apache/cxf/testutil/common/TestUtil.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cxf/blob/3d7db466/testutils/src/main/java/org/apache/cxf/testutil/common/TestUtil.java ---------------------------------------------------------------------- diff --git a/testutils/src/main/java/org/apache/cxf/testutil/common/TestUtil.java b/testutils/src/main/java/org/apache/cxf/testutil/common/TestUtil.java index e6a8bcc..472ef07 100644 --- a/testutils/src/main/java/org/apache/cxf/testutil/common/TestUtil.java +++ b/testutils/src/main/java/org/apache/cxf/testutil/common/TestUtil.java @@ -189,7 +189,8 @@ public final class TestUtil { Client c = (Client)o; address = c.getEndpoint().getEndpointInfo().getAddress(); } - if (address != null && address.startsWith("http:")) { + if (address != null && address.startsWith("http")) { + // http and https are ok URL url = new URL(address); url = new URL(url.getProtocol(), url.getHost(), port, url.getFile());
