Merge branch '6.1.x'
This commit is contained in:
@@ -333,7 +333,9 @@ public abstract class AbstractUrlHandlerMapping extends AbstractHandlerMapping i
|
||||
validateHandler(handler, request);
|
||||
String pathWithinMapping = pattern.extractPathWithinPattern(path.pathWithinApplication()).value();
|
||||
pathWithinMapping = UrlPathHelper.defaultInstance.removeSemicolonContent(pathWithinMapping);
|
||||
return buildPathExposingHandler(handler, pattern.getPatternString(), pathWithinMapping, null);
|
||||
PathPattern.PathMatchInfo pathMatchInfo = pattern.matchAndExtract(path);
|
||||
Map<String, String> uriVariables = (pathMatchInfo != null ? pathMatchInfo.getUriVariables(): null);
|
||||
return buildPathExposingHandler(handler, pattern.getPatternString(), pathWithinMapping, uriVariables);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user