Permalink
Browse files

Merge remote-tracking branch 'nicoo/master'

  • Loading branch information...
2 parents ad47102 + 613f1f3 commit dbe7c190e328c445aa620af1ffa4d997f0b37f8d @dakrone dakrone committed Jan 16, 2012
Showing with 3 additions and 1 deletion.
  1. +3 −1 src/clj_http/cookies.clj
View
@@ -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

0 comments on commit dbe7c19

Please sign in to comment.