• Andy Wilkinson's avatar
    Don't auto-configure MultipartConfigElement when using Commons FileUpload · e7b03f7c
    Andy Wilkinson authored
    Previously, when a user had declared a custom MultipartResolver bean
    that is a CommonsMultipartResolver, part resolution would fail. The
    failure was occurring as the servlet container was consuming the parts
    before CommonsMultipartResolver had a chance to read them. This was
    happening because a MultipartConfigElement was being auto-configured.
    
    This commit updates the multipart auto-configuration so that a
    MultipartConfigElement is not auto-configured when there is a
    CommonsMultipartResolver bean in the context.
    
    Closes gh-7735
    e7b03f7c
Name
Last commit
Last update
.github Loading commit data...
.mvn Loading commit data...
eclipse Loading commit data...
spring-boot Loading commit data...
spring-boot-actuator Loading commit data...
spring-boot-actuator-docs Loading commit data...
spring-boot-autoconfigure Loading commit data...
spring-boot-cli Loading commit data...
spring-boot-dependencies Loading commit data...
spring-boot-deployment-tests Loading commit data...
spring-boot-devtools Loading commit data...
spring-boot-docs Loading commit data...
spring-boot-full-build Loading commit data...
spring-boot-integration-tests Loading commit data...
spring-boot-parent Loading commit data...
spring-boot-samples Loading commit data...
spring-boot-starters Loading commit data...
spring-boot-test Loading commit data...
spring-boot-test-autoconfigure Loading commit data...
spring-boot-tools Loading commit data...
.editorconfig Loading commit data...
.gitignore Loading commit data...
.settings-template.xml Loading commit data...
.travis.yml Loading commit data...
CODE_OF_CONDUCT.adoc Loading commit data...
CONTRIBUTING.adoc Loading commit data...
LICENSE.txt Loading commit data...
README.adoc Loading commit data...
mvnw Loading commit data...
mvnw.cmd Loading commit data...
pom.xml Loading commit data...