Correction for commit #c6e500

Issue: SPR-17630
This commit is contained in:
Rossen Stoyanchev
2019-01-08 22:43:42 -05:00
parent ea3017b1b6
commit 5aa131a259
2 changed files with 6 additions and 1 deletions

View File

@@ -919,4 +919,9 @@ public class UriComponentsBuilderTests {
assertEquals("http://localhost:8081/{path}?sort={sort}&sort=another_value", uri);
}
@Test // SPR-17630
public void toUriStringWithCurlyBraces() {
assertEquals("/path?q=%7Basa%7Dasa",
UriComponentsBuilder.fromUriString("/path?q={asa}asa").toUriString());
}
}