mirror of
https://github.com/spring-projects/spring-framework
synced 2026-06-08 17:33:33 +00:00
6e5cb7fbcd
Refactor UriComponentsBuilder to ensure that paths do not contain empty
segments.
For example, prior to this commit:
fromUriString("http://example.com/abc/").path("/x/y/z")
would build the URL "http://example.com/abc//x/y/z" where as it will
now build "http://example.com/abc/x/y/z".
Issue: SPR-10270