#4907 - Duplicate Spring MVC endpoint fix (#5084)

This commit is contained in:
Brandon Fergerson 2020-07-15 09:52:46 +04:00 committed by GitHub
parent ce2469dbec
commit e356da4b0e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -84,9 +84,9 @@ public abstract class AbstractMethodInterceptor implements InstanceMethodsAround
if (requestURL == null) {
requestURL = getRequestURL(method);
pathMappingCache.addPathMapping(method, requestURL);
requestURL = getAcceptedMethodTypes(method) + pathMappingCache.findPathMapping(method);
requestURL = pathMappingCache.findPathMapping(method);
}
operationName = requestURL;
operationName = getAcceptedMethodTypes(method) + requestURL;
}
HttpServletRequest request = (HttpServletRequest) ContextManager.getRuntimeContext()