CsrfConfigurer.ignoringRequestMatchers breaks on Spring Boot 3.1.2 #36500
Labels
for: external-project
For an external project and not something we can fix
status: invalid
An issue that we don't feel is valid
If something like this is used:
http.csrf(csrf -> csrf.ignoringRequestMatchers("/login", "/something/**" ));
An exception triggers: "This method cannot decide whether these patterns are Spring MVC patterns or not..."
I've manage to trace down the change that issues this problem, class
org.springframework.security.config.annotation.web.AbstractRequestMatcherRegistry
methodpublic C requestMatchers(HttpMethod method, String... patterns)
Spring Boot 3.1.1 (Before):
Spring Boot 3.1.2 (Now):
The text was updated successfully, but these errors were encountered: