Use nested path variables instead of Servlet's
Remove the overriden pathVariable method from the nested request wrapper,so that the merged attributes are used instead of the ones provided by servlet. Closes gh-26163
This commit is contained in:
@@ -1040,11 +1040,6 @@ public abstract class RequestPredicates {
|
||||
return this.request.multipartData();
|
||||
}
|
||||
|
||||
@Override
|
||||
public String pathVariable(String name) {
|
||||
return this.request.pathVariable(name);
|
||||
}
|
||||
|
||||
@Override
|
||||
@SuppressWarnings("unchecked")
|
||||
public Map<String, String> pathVariables() {
|
||||
|
||||
Reference in New Issue
Block a user