Skip to content

Commit 3ec0fbc

Browse files
committed
Merge branch '4.2.x'
2 parents 5015dd2 + f636c9c commit 3ec0fbc

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

spring-cloud-gateway-server-mvc/src/main/java/org/springframework/cloud/gateway/server/mvc/common/MultipartEnvironmentPostProcessor.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ public void postProcessEnvironment(ConfigurableEnvironment environment, SpringAp
3737
// no user set property, set it to false.
3838
MapPropertySource propertySource = new MapPropertySource(MULTIPART_PROPERTY_SOURCE_NAME,
3939
Map.of(MULTIPART_ENABLED_PROPERTY, Boolean.FALSE));
40-
//environment.getPropertySources().addFirst(propertySource);
40+
// environment.getPropertySources().addFirst(propertySource);
4141
}
4242
}
4343

spring-cloud-gateway-server-mvc/src/test/java/org/springframework/cloud/gateway/server/mvc/common/MultipartEnvironmentPostProcessorTests.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616

1717
package org.springframework.cloud.gateway.server.mvc.common;
1818

19+
import org.junit.jupiter.api.Disabled;
1920
import org.junit.jupiter.api.Test;
2021

2122
import org.springframework.mock.env.MockEnvironment;
@@ -27,6 +28,7 @@
2728
public class MultipartEnvironmentPostProcessorTests {
2829

2930
@Test
31+
@Disabled
3032
void multipartDisabledByDefault() {
3133
MockEnvironment environment = new MockEnvironment();
3234
MultipartEnvironmentPostProcessor processor = new MultipartEnvironmentPostProcessor();

0 commit comments

Comments
 (0)