Browse Source

Typo in URI Encoding section

Issue: SPR-17104
pull/1912/head
Rossen Stoyanchev 8 years ago
parent
commit
65d5cb3663
  1. 2
      src/docs/asciidoc/web/web-uris.adoc

2
src/docs/asciidoc/web/web-uris.adoc

@ -152,7 +152,7 @@ URI uri = UriComponentsBuilder.fromPath("/hotel list/{city}") @@ -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):

Loading…
Cancel
Save