Closed
Description
Oliver Drotbohm opened SPR-9077 and commented
When handing empty segments into UriComponentsBuilder.pathSegments(...)
double slashes are created which are semantically equivalent to a single slash. Thus, empty path segments can/should be dropped:
UriComponentsBuilder.pathSegment("", "foo", "", "bar");
Result: //foo//bar
Expected: /foo/bar
Affects: 3.1 GA
Referenced from: commits 010abd0