We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a3168fd commit a1bf941Copy full SHA for a1bf941
spring-web/src/main/java/org/springframework/web/multipart/commons/CommonsFileUploadSupport.java
@@ -211,6 +211,7 @@ protected FileUpload prepareFileUpload(String encoding) {
211
if (encoding != null && !encoding.equals(fileUpload.getHeaderEncoding())) {
212
actualFileUpload = newFileUpload(getFileItemFactory());
213
actualFileUpload.setSizeMax(fileUpload.getSizeMax());
214
+ actualFileUpload.setFileSizeMax(fileUpload.getFileSizeMax());
215
actualFileUpload.setHeaderEncoding(encoding);
216
}
217
0 commit comments