forked from spring-projects/spring-boot
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Unwraper handler to find ContextHandler when logging context path
Previously, only the top-level handlers were examined to find the ContextHandlers and log the context path. If those handlers had been wrapped, this prevented the ContextHandlers from being found and an empty string was always logged. When finding the context path, this commit unwraps the handler held by a HandlerWrapper until the ContextHandler is found. Fixes spring-projectsgh-19969
- Loading branch information
1 parent
f506559
commit 140f5e7
Showing
2 changed files
with
29 additions
and
4 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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