Fix issue with path matching options

Closes gh-23907
This commit is contained in:
Rossen Stoyanchev
2019-11-06 17:39:41 +00:00
parent 3a241b546f
commit 203977972b
3 changed files with 29 additions and 6 deletions

View File

@@ -232,7 +232,7 @@ public class RequestMappingHandlerMapping extends RequestMappingInfoHandlerMappi
}
String prefix = getPathPrefix(handlerType);
if (prefix != null) {
info = RequestMappingInfo.paths(prefix).build().combine(info);
info = RequestMappingInfo.paths(prefix).options(this.config).build().combine(info);
}
}
return info;