mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-14 17:58:59 +00:00
Merged 5.2.0 (5.2.0) to HEAD (5.2)
134766 mmuller: Merged 5.2.N (5.2.1) to 5.2.0 (5.2.0) 134753 mmuller: Merged 5.2.N-REPO-1815 (5.2.1) to 5.2.N (5.2.1) 134749 mmuller: REPO-1815 / ACE-5753 check if operation is null or empty and attach cmisselect=repositoryInfo and some code optimazion git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@134987 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -473,24 +473,16 @@ public class CMISHttpServletRequest implements HttpServletRequest
|
||||
|
||||
if(networkId != null && networkId.length() > 0)
|
||||
{
|
||||
if (reqQueryString == null)
|
||||
if (reqQueryString != null)
|
||||
{
|
||||
queryString.append("repositoryId=");
|
||||
queryString.append(networkId);
|
||||
queryString.append(reqQueryString + "&");
|
||||
}
|
||||
else
|
||||
{
|
||||
queryString.append(reqQueryString);
|
||||
queryString.append("&repositoryId=");
|
||||
queryString.append(networkId);
|
||||
}
|
||||
String cmisselector = httpReq.getParameter("cmisselector");
|
||||
if(cmisselector == null || cmisselector.isEmpty())
|
||||
queryString.append("repositoryId=" + networkId);
|
||||
if(operation == null || operation.isEmpty())
|
||||
{
|
||||
queryString.append("&cmisselector=");
|
||||
queryString.append(Constants.SELECTOR_REPOSITORY_INFO);
|
||||
}
|
||||
|
||||
return queryString.toString();
|
||||
}
|
||||
return reqQueryString;
|
||||
|
Reference in New Issue
Block a user