MvcUriComponentsBuilder should not include empty query parameters in build URI [SPR-14405] #18976
Expected: When building an URI with the MvcUriComponentsBuilder to a Controller-Method that references an optional query parameter (
Actual: The empty query parameter is defined without an equal sign and value.
This prevents the usage of such generated URIs as action of a form with a GET method. See the referenced GIST for an simple Spring-Boot Configuration/Controller to reproduce this issue.
Referenced from: commits 2cdcf75
The text was updated successfully, but these errors were encountered: