File tree 2 files changed +2
-4
lines changed
2 files changed +2
-4
lines changed Original file line number Diff line number Diff line change 9
9
[org.ring-clojure/ring-websocket-protocols " 1.13.0" ]
10
10
[ring/ring-codec " 1.3.0" ]
11
11
[commons-io " 2.18.0" ]
12
- [org.apache.commons/commons-fileupload2-core " 2.0.0-M1 " ]
12
+ [org.apache.commons/commons-fileupload2-core " 2.0.0-M2 " ]
13
13
[crypto-random " 1.2.1" ]
14
14
[crypto-equality " 1.0.1" ]]
15
15
:aliases {" test-all" [" with-profile" " default:+1.10:+1.11:+1.12" " test" ]}
Original file line number Diff line number Diff line change 30
30
31
31
(defn- file-upload [request {:keys [progress-fn max-file-size]}]
32
32
(doto (proxy [AbstractFileUpload] [])
33
- ; ; There seems to be an off-by-one bug in FileUpload 2.0.0-M1 that requires
34
- ; ; us to increment the max-file-size option to get it to work correctly.
35
- (.setFileSizeMax (if max-file-size (inc max-file-size) -1 ))
33
+ (.setFileSizeMax (or max-file-size -1 ))
36
34
(set-progress-listener request progress-fn)))
37
35
38
36
(defn- multipart-form? [request]
You can’t perform that action at this time.
0 commit comments