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)
This commit is contained in:
Gered 2014-09-08 13:48:06 -04:00
parent 7845a3a2a5
commit 5c2a9b838e

View file

@ -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