-
Notifications
You must be signed in to change notification settings - Fork 1.3k
url /{label}/{application}-{profile}.properties stopped working in spring boot 2.6.1 and config 3.1.0 #2020
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
Comments
Can you provide a complete, minimal, verifiable sample that reproduces the problem? It should be available as a GitHub (or similar) project or attached to this issue as a zip file. |
I think the old behavior should return if the property |
I can confirm that |
Change in boot spring-projects/spring-boot#24805 |
I upgraded spring cloud to 2021.0.0 and spring boot to 2.6.1 and it stopped working for URL in format
/{label}/{application}-{profile}.properties
.It ends with this response:
I tried to debug it and it goes to this method in the controller instead of the correct one.
https://github.com/spring-cloud/spring-cloud-config/blob/v3.1.0/spring-cloud-config-server/src/main/java/org/springframework/cloud/config/server/environment/EnvironmentController.java#L109
The text was updated successfully, but these errors were encountered: