We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6684ffc commit 677a48dCopy full SHA for 677a48d
src/clojure_http/client.clj
@@ -109,7 +109,7 @@ by a server."
109
"Takes a map of query parameters and turns them into a query string."
110
[url query-map]
111
(if (seq query-map)
112
- (apply str url "?" (interpose "&" (for [[k v] query-map] (str k "=" v))))
+ (apply str url "?" (interpose "&" (for [[k v] query-map] (str (url-encode k) "=" (url-encode v)))))
113
url))
114
115
(defn request
0 commit comments