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:
parent
7845a3a2a5
commit
5c2a9b838e
|
@ -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
|
||||
|
|
Reference in a new issue