Skip to content

Commit

Permalink
Merge remote-tracking branch 'nicoo/master'
Browse files Browse the repository at this point in the history
  • Loading branch information
dakrone committed Jan 16, 2012
2 parents ad47102 + 613f1f3 commit dbe7c19
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/clj_http/cookies.clj
Expand Up @@ -36,7 +36,9 @@
:path (.getPath cookie)
:ports (if (.getPorts cookie) (seq (.getPorts cookie)))
:secure (.isSecure cookie)
:value (url-decode (.getValue cookie))
:value (try
(url-decode (.getValue cookie))
(catch Exception _ (.getValue cookie)))
:version (.getVersion cookie)})])

(defn- to-basic-client-cookie
Expand Down

0 comments on commit dbe7c19

Please sign in to comment.