Permalink
Browse files

Fixed bug in multipart form parameters

  • Loading branch information...
1 parent 33ecea2 commit af0fa81b0ede93f87614d1f15253ea748bd67dc1 @weavejester weavejester committed Mar 19, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 ring-core/src/ring/middleware/multipart_params.clj
View
2 ring-core/src/ring/middleware/multipart_params.clj
@@ -43,7 +43,7 @@
supplied store function is used to save it."
[^FileItemStream item store]
(if (.isFormField item)
- (Streams/asString item)
+ (Streams/asString (.openStream item))
(store {:filename (.getName item)
:content-type (.getContentType item)
:stream (.openStream item)})))

0 comments on commit af0fa81

Please sign in to comment.