Correction for commit #b219c6c
Issue: SPR-17630
This commit is contained in:
@@ -458,7 +458,7 @@ public class UriComponentsBuilder implements UriBuilder, Cloneable {
|
||||
*/
|
||||
public String toUriString() {
|
||||
return this.uriVariables.isEmpty() ?
|
||||
encode().build().toUriString() :
|
||||
build().encode().toUriString() :
|
||||
buildInternal(EncodingHint.ENCODE_TEMPLATE).toUriString();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user