From 4948cdeef5acb2cbed8e67fe253b42c7eb3b81e1 Mon Sep 17 00:00:00 2001 From: James Agnew Date: Mon, 15 May 2017 18:22:46 -0400 Subject: [PATCH] Fix broken test --- .../java/ca/uhn/fhir/rest/method/HttpGetClientInvocation.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hapi-fhir-base/src/main/java/ca/uhn/fhir/rest/method/HttpGetClientInvocation.java b/hapi-fhir-base/src/main/java/ca/uhn/fhir/rest/method/HttpGetClientInvocation.java index a74f5f63a21..315bab5abdd 100644 --- a/hapi-fhir-base/src/main/java/ca/uhn/fhir/rest/method/HttpGetClientInvocation.java +++ b/hapi-fhir-base/src/main/java/ca/uhn/fhir/rest/method/HttpGetClientInvocation.java @@ -90,7 +90,7 @@ public class HttpGetClientInvocation extends BaseHttpClientInvocation { if (!myUrlPath.contains("://")) { b.append(theUrlBase); - if (!theUrlBase.endsWith("/")) { + if (!theUrlBase.endsWith("/") && !myUrlPath.startsWith("/")) { b.append('/'); } }