mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
Web Scripts:
- addition of content retrieval web script / redirect search to this web script - move search scripts to repository/search package External Access Servlet: - fix dashboard refresh issue git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5933 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -43,16 +43,11 @@ public abstract class WebScriptRequestImpl implements WebScriptRequest
|
||||
WebScriptMatch match = getServiceMatch();
|
||||
if (match != null)
|
||||
{
|
||||
String servicePath = getServiceMatch().getPath();
|
||||
extensionPath = getPathInfo();
|
||||
if (extensionPath != null)
|
||||
String matchPath = getServiceMatch().getPath();
|
||||
String pathInfo = getPathInfo();
|
||||
if (pathInfo != null)
|
||||
{
|
||||
int extIdx = extensionPath.indexOf(servicePath);
|
||||
if (extIdx != -1)
|
||||
{
|
||||
int extLength = (servicePath.endsWith("/") ? servicePath.length() : servicePath.length() + 1);
|
||||
extensionPath = extensionPath.substring(extIdx + extLength);
|
||||
}
|
||||
extensionPath = pathInfo.substring(matchPath.length());
|
||||
}
|
||||
}
|
||||
return extensionPath;
|
||||
|
Reference in New Issue
Block a user