From 65d5cb36634f18b27cda593d1403e00bc4d6c292 Mon Sep 17 00:00:00 2001 From: Rossen Stoyanchev Date: Tue, 31 Jul 2018 23:27:00 +0300 Subject: [PATCH] Typo in URI Encoding section Issue: SPR-17104 --- src/docs/asciidoc/web/web-uris.adoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/docs/asciidoc/web/web-uris.adoc b/src/docs/asciidoc/web/web-uris.adoc index efb2b7a7be0..539ab204e38 100644 --- a/src/docs/asciidoc/web/web-uris.adoc +++ b/src/docs/asciidoc/web/web-uris.adoc @@ -152,7 +152,7 @@ URI uri = UriComponentsBuilder.fromPath("/hotel list/{city}") .buildAndExpand("New York", "foo+bar") .toUri(); - // Result is "/hotel%20list/New%20York?foo%2Bbar" + // Result is "/hotel%20list/New%20York?q=foo%2Bbar" ---- The above can be shortened by going directly to URI (which implies encoding):