Closed
Description
Benjamin Conlan opened SPR-17465 and commented
When using the reactive web WebClient's uribuilder building a Uri path value doesn't get encoded as expected:
(Excuse code here... Composed from phone)
webClient.get().uri(builder -> builder.path("/{test}").build("encode/this"))
Behaves differently to:
webClient.get().uri("/{test}", "encode/this")
I would expect the url path segment in the 1st case to also be encoded.
Affects: 5.0.8
Issue Links:
- WebClient no longer encodes query parameters [SPR-17532] #22064 WebClient no longer encodes query parameters ("is duplicated by")
Referenced from: commits 2405161, e4c84ec
Backported to: 5.0.11