UriComponents needs support for URL building ending with trailing slash [SPR-13678]
Labels
in: web
Issues in web modules (web, webmvc, webflux, websocket)
status: declined
A suggestion or change that we don't feel we should currently apply
type: enhancement
A general enhancement
spring-projects-issues commentedNov 12, 2015
Ivan Orešković opened SPR-13678 and commented
REST conventions suggest that resource paths should end with trailing slash.
When using UriComponentsBuilder to build UriComponents, it has no option to append trailing slash at the end of path segments, before query params and fragments.
gives output
The first line is how the current UriComponents#toUriString method does it, and the second is how it should do it provided the option to end the path with a trailing slash.
Affects: 4.2.2
Referenced from: commits 5f2d34f
The text was updated successfully, but these errors were encountered: