diff --git a/modules/flowable-rest/src/main/java/org/flowable/rest/service/api/repository/DeploymentResourceResource.java b/modules/flowable-rest/src/main/java/org/flowable/rest/service/api/repository/DeploymentResourceResource.java index 7e75639cea2..3448c1a2458 100644 --- a/modules/flowable-rest/src/main/java/org/flowable/rest/service/api/repository/DeploymentResourceResource.java +++ b/modules/flowable-rest/src/main/java/org/flowable/rest/service/api/repository/DeploymentResourceResource.java @@ -83,8 +83,8 @@ public DeploymentResourceResponse getDeploymentResource(@ApiParam(name = "deploy restApiInterceptor.accessDeploymentById(deployment); } - String pathInfo = request.getPathInfo(); - String resourceName = pathInfo.replace("/repository/deployments/" + deploymentId + "/resources/", ""); + String ressourceURI = request.getRequestURI(); + String resourceName = ressourceURI.replace(request.getContextPath()+"/repository/deployments/" + deploymentId + "/resources/", ""); List resourceList = repositoryService.getDeploymentResourceNames(deploymentId);