Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Default value for configuration property 'spring.mvc.pathmatch.matching-strategy' is not up to date in the reference documentation v2.6 #29091

Closed
ghusta opened this issue Dec 16, 2021 · 2 comments
Labels
status: duplicate A duplicate of another issue

Comments

@ghusta
Copy link
Contributor

ghusta commented Dec 16, 2021

The default value for spring.mvc.pathmatch.matching-strategy should be path-pattern-parser since Spring Boot 2.6 (see release notes), but it's still the old value (ant-path-matcher) in the reference documentation.

It is incorrect in this document : https://docs.spring.io/spring-boot/docs/2.6.x/reference/html/application-properties.html#application-properties.web.spring.mvc.pathmatch.matching-strategy

However in the metadata file, the default value is correct (https://github.com/spring-projects/spring-boot/blob/2.6.x/spring-boot-project/spring-boot-autoconfigure/src/main/resources/META-INF/additional-spring-configuration-metadata.json#L1634).

@spring-projects-issues spring-projects-issues added the status: waiting-for-triage An issue we've not yet triaged label Dec 16, 2021
@scottfrederick
Copy link
Contributor

Thanks for the report. This is a duplicate of #28936.

@scottfrederick scottfrederick added status: duplicate A duplicate of another issue and removed status: waiting-for-triage An issue we've not yet triaged labels Dec 16, 2021
@ghusta
Copy link
Contributor Author

ghusta commented Dec 17, 2021

Oh sorry !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status: duplicate A duplicate of another issue
Projects
None yet
Development

No branches or pull requests

3 participants