HTTP method is lost when configuring excludes in EndpointRequest by dlwldnjs1009 · Pull Request #49885 · spring-projects/spring-boot (original) (raw)
bclozel changed the base branch from main to 3.5.x
EndpointRequest.withHttpMethod(...) restrictions are lost when excluding(Class<?>...), excluding(String...), or excludingLinks() are chained because each exclusion creates a new matcher without the configured method.
Preserve the configured HttpMethod in both servlet and reactive matchers and add regression tests for exclusion chaining.
Signed-off-by: Lee JiWon dlwldnjs1009@gmail.com
wilkinsona changed the title
Preserve HttpMethod in EndpointRequest exclusions HTTP method is lost when configuring excludes in EndpointRequest
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
[ Show hidden characters]({{ revealButtonHref }})