Skip to content

Commit 3e6907e

Browse files
committed
Update FileUpload dependency to 2.0.0-M4
Fixes #529.
1 parent f2617b3 commit 3e6907e

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

ring-core/project.clj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
[org.ring-clojure/ring-websocket-protocols "1.14.1"]
1010
[ring/ring-codec "1.3.0"]
1111
[commons-io "2.18.0"]
12-
[org.apache.commons/commons-fileupload2-core "2.0.0-M2"]
12+
[org.apache.commons/commons-fileupload2-core "2.0.0-M4"]
1313
[crypto-random "1.2.1"]
1414
[crypto-equality "1.0.1"]]
1515
:aliases {"test-all" ["with-profile" "default:+1.10:+1.11:+1.12" "test"]}

ring-core/src/ring/middleware/multipart_params.clj

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,8 @@
4141
(getContentType [_] (get-in request [:headers "content-type"]))
4242
(getContentLength [_] (or (req/content-length request) -1))
4343
(getCharacterEncoding [_] encoding)
44-
(getInputStream [_] (:body request))))
44+
(getInputStream [_] (:body request))
45+
(isMultipartRelated [_] false)))
4546

4647
(defn- file-item-iterable [^AbstractFileUpload upload ^RequestContext context]
4748
(reify Iterable

0 commit comments

Comments
 (0)