Restore matchIfMissing attribute

Restore accidentally deleted `matchIfMissing` attribute.

See gh-43704
This commit is contained in:
Phillip Webb 2025-01-08 15:00:45 -08:00
parent b448d5e0a7
commit bd3663748b
1 changed files with 1 additions and 1 deletions

View File

@ -170,7 +170,7 @@ public class WebMvcAutoConfiguration {
@Bean
@ConditionalOnMissingBean(FormContentFilter.class)
@ConditionalOnBooleanProperty("spring.mvc.formcontent.filter.enabled")
@ConditionalOnBooleanProperty(name = "spring.mvc.formcontent.filter.enabled", matchIfMissing = true)
public OrderedFormContentFilter formContentFilter() {
return new OrderedFormContentFilter();
}