Effectively disables MultipartEnvironmentPostProcessor

This commit is contained in:
spencergibb
2025-01-28 13:29:58 -05:00
parent 92e8cfc069
commit ff2c7e7ae8
2 changed files with 2 additions and 1 deletions

View File

@@ -37,7 +37,7 @@ public class MultipartEnvironmentPostProcessor implements EnvironmentPostProcess
// no user set property, set it to false.
MapPropertySource propertySource = new MapPropertySource(MULTIPART_PROPERTY_SOURCE_NAME,
Map.of(MULTIPART_ENABLED_PROPERTY, Boolean.FALSE));
//environment.getPropertySources().addFirst(propertySource);
// environment.getPropertySources().addFirst(propertySource);
}
}

View File

@@ -15,6 +15,7 @@
*/
package org.springframework.cloud.gateway.server.mvc.common;
import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Test;