mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
Fix ALFCOM-3628, ALFCOM-3629
- impossible to download / edit offline in Share - fixed ContentGet webscript refactoring which didn't take into account /filename.ext extension on urls git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@17373 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -65,7 +65,11 @@ public class ObjectIdReference extends AbstractObjectReference
|
||||
}
|
||||
|
||||
StoreRef storeRef = repo.getStoreRef();
|
||||
reference = new String[] {storeRef.getProtocol(), storeRef.getIdentifier(), this.id};
|
||||
String[] idParts = this.id.split("/");
|
||||
reference = new String[2 + idParts.length];
|
||||
reference[0] = storeRef.getProtocol();
|
||||
reference[1] = storeRef.getIdentifier();
|
||||
System.arraycopy(idParts, 0, reference, 2, idParts.length);
|
||||
}
|
||||
|
||||
/*
|
||||
|
Reference in New Issue
Block a user