From 3d8f1fb00fe3e5af75f3fbd79b77ed0a35db827d Mon Sep 17 00:00:00 2001 From: Hunhee Lee Date: Mon, 8 Jul 2024 23:25:32 +0900 Subject: [PATCH] Harmonize phrasing in URI Encoding section See gh-33166 --- framework-docs/modules/ROOT/partials/web/web-uris.adoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/framework-docs/modules/ROOT/partials/web/web-uris.adoc b/framework-docs/modules/ROOT/partials/web/web-uris.adoc index a8bde952e68..9b7df3674d8 100644 --- a/framework-docs/modules/ROOT/partials/web/web-uris.adoc +++ b/framework-docs/modules/ROOT/partials/web/web-uris.adoc @@ -389,7 +389,7 @@ template. encode URI component value _after_ URI variables are expanded. * `NONE`: No encoding is applied. -The `RestTemplate` is set to `EncodingMode.URI_COMPONENT` for historic +The `RestTemplate` is set to `EncodingMode.URI_COMPONENT` for historical reasons and for backwards compatibility. The `WebClient` relies on the default value in `DefaultUriBuilderFactory`, which was changed from `EncodingMode.URI_COMPONENT` in 5.0.x to `EncodingMode.TEMPLATE_AND_VALUES` in 5.1.