From 5c2a9b838e72861a4df95468d2c9b888d0139b95 Mon Sep 17 00:00:00 2001 From: gered Date: Mon, 8 Sep 2014 13:48:06 -0400 Subject: [PATCH] shouldn't be using join-paths here, cemerick.url/url is best proper handling of a full URL (join-paths is really just for joining of sub-paths after the protocol & domain name) --- src/clj_hl7_fhir/core.clj | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/clj_hl7_fhir/core.clj b/src/clj_hl7_fhir/core.clj index 6ce52f7..bfadd5e 100644 --- a/src/clj_hl7_fhir/core.clj +++ b/src/clj_hl7_fhir/core.clj @@ -279,8 +279,7 @@ [base-url relative-url] (if-not (or (str/blank? base-url) (str/blank? relative-url)) - (-> (join-paths base-url relative-url) - (url) + (-> (url base-url relative-url) (.toString)))) (defn collect-resources