mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
Proper fix for SLNG-1166
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@10864 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -20,9 +20,9 @@ Some CMIS protocol bindings MAY choose not to explicitly implement a “getConte
|
||||
Each CMIS protocol binding will provide a way for fetching a sub-range within a content stream, in a manner appropriate to that protocol.<br>
|
||||
]]>
|
||||
</description>
|
||||
<url>/api/node/content{property}/{store_type}/{store_id}/{node_id}?a={attach?}</url>
|
||||
<url>/api/path/content{property}/{store_type}/{store_id}/{path}?a={attach?}</url>
|
||||
<url>/api/avmpath/content{property}/{store_id}/{path}?a={attach?}</url>
|
||||
<url>/api/node/content{property}/{store_type}/{store_id}/{id}?a={attach?}</url>
|
||||
<url>/api/path/content{property}/{store_type}/{store_id}/{id}?a={attach?}</url>
|
||||
<url>/api/avmpath/content{property}/{store_id}/{id}?a={attach?}</url>
|
||||
<url>/api/node/{store_type}/{store_id}/{id}/content{property}?a={attach?}</url>
|
||||
<url>/api/path/{store_type}/{store_id}/{id}/content{property}?a={attach?}</url>
|
||||
<authentication>guest</authentication>
|
||||
|
@@ -89,7 +89,7 @@ public class ContentGet extends StreamContent
|
||||
String match = req.getServiceMatch().getPath();
|
||||
String[] matchParts = match.split("/");
|
||||
Map<String, String> templateVars = req.getServiceMatch().getTemplateVars();
|
||||
String[] id = templateVars.get("node_id").split("/");
|
||||
String[] id = templateVars.get("id").split("/");
|
||||
String[] path = new String[id.length + 2];
|
||||
path[0] = templateVars.get("store_type");
|
||||
path[1] = templateVars.get("store_id");
|
||||
|
Reference in New Issue
Block a user