Fail fast when both management 'base path' and 'endpoint mapping' are set to '/'#45251
Closed
YongGoose wants to merge 1 commit intospring-projects:mainfrom
Closed
Fail fast when both management 'base path' and 'endpoint mapping' are set to '/'#45251YongGoose wants to merge 1 commit intospring-projects:mainfrom
YongGoose wants to merge 1 commit intospring-projects:mainfrom
Conversation
3b515e6 to
29cb6ac
Compare
…int mapping` are set to '/' - Issue spring-projects#43885 Signed-off-by: yongjunhong <dev.yongjunh@gmail.com>
29cb6ac to
775af26
Compare
fail-fast mechanism when both management base path and endpoint mapping are set to '/'
philwebb
pushed a commit
that referenced
this pull request
Apr 22, 2025
Throw an exception if actuator is running on the main server port and the base path and an individual mapping are set to '/'. See gh-45251 Signed-off-by: yongjunhong <dev.yongjunh@gmail.com>
philwebb
added a commit
that referenced
this pull request
Apr 22, 2025
Member
|
Thanks very much @YongGoose. I've tweaked things a little to relocate the code to |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
fixes #43885