Files
spring-boot/spring-boot-project
Lee JiWon 847b2e837b Strip query string from Cloud Foundry reactive links base URL
CloudFoundryLinksHandler passes request.getURI().toString() directly
to EndpointLinksResolver.resolveLinks(), which includes the query
string. This causes generated link hrefs to contain the query
(for example, "/cfApplication?x=1/info"). The standard WebFlux and
Cloud Foundry servlet siblings already strip the query before
resolving links.

Use UriComponentsBuilder.replaceQuery(null) to match the pattern used
by WebFluxEndpointHandlerMapping and add a regression test for a
query-string request.

Signed-off-by: Lee JiWon <dlwldnjs1009@gmail.com>

See gh-50008
2026-04-10 11:33:28 +01:00
..
2026-03-26 16:06:01 +01:00
2026-03-26 16:06:01 +01:00