Permalink
Browse files
Fixed bug in multipart form parameters
- Loading branch information...
Showing
with
1 addition
and
1 deletion.
-
+1
−1
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