Closed
Description
ResourceController has multiple @RequestMapping
s that would conflict, currently to avoid passing the label we use the useDefaultLabel
request parameter to select. Starting with spring 5.3 this is no longer happening.
Given
@RequestMapping("/{name}/{profile}/{label}/**")
// and
@RequestMapping(value = "/{name}/{profile}/**", params = "useDefaultLabel")
Calling /foo/default/file.txt?useDefaultLabel
used to route to the later, now it routes to the former and produces an error because the file is treated as a label.