You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As a result, the default Ant-based path matching will be used. This feels inconsistent. However, there's a risk that changing it will break users controller and rest controller endpoints if they have implementations that rely on some capabilities of the Ant-based matching that the path pattern parser doesn't support. We may decide that we can't do anything about this until 3.0.
The text was updated successfully, but these errors were encountered:
As of Spring Framework 6.0, this is the default so there isn't any change for boot to make here. This can be verified by pathPatternsCondition not being null. Closing the issue as superseded.
When we create
WebMvcEndpointHandlerMapping
we use the path pattern parser from the MVC auto-configuration:spring-boot/spring-boot-project/spring-boot-actuator-autoconfigure/src/main/java/org/springframework/boot/actuate/autoconfigure/endpoint/web/servlet/WebMvcEndpointManagementContextConfiguration.java
Lines 86 to 88 in 17bdc52
However, when we create
ControllerEndpointHandlerMapping
, we don't pass in a path pattern parser:spring-boot/spring-boot-project/spring-boot-actuator-autoconfigure/src/main/java/org/springframework/boot/actuate/autoconfigure/endpoint/web/servlet/WebMvcEndpointManagementContextConfiguration.java
Lines 116 to 117 in 17bdc52
As a result, the default Ant-based path matching will be used. This feels inconsistent. However, there's a risk that changing it will break users controller and rest controller endpoints if they have implementations that rely on some capabilities of the Ant-based matching that the path pattern parser doesn't support. We may decide that we can't do anything about this until 3.0.
The text was updated successfully, but these errors were encountered: