Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

accept cookie values containing "="

  • Loading branch information...
commit f416aaa1909491af3f5e1beb3f320567a23766b5 1 parent 7b9715e
@tomjack tomjack authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  src/clojure/http/client.clj
View
2  src/clojure/http/client.clj
@@ -72,7 +72,7 @@ by a server."
(when cookie-string
(into {}
(for [cookie (.split cookie-string ";")]
- (let [keyval (map #(.trim %) (.split cookie "="))]
+ (let [keyval (map #(.trim %) (.split cookie "=" 2))]
[(first keyval) (second keyval)])))))
(defn- create-cookie-string
Please sign in to comment.
Something went wrong with that request. Please try again.