Hi Alexey, On Wed, Feb 24, 2010 at 10:43 AM, Alexey Zavizionov <[email protected]> wrote: > I have the same issue. I did some research. > Within method GetTest.testObjectByPath
Please state what code you're talking about. Apache Chemistry now has at least four different codebases, so it's worth telling us what you're talking about. I guess here it's the TCK. > it generates uri from template where the "/" encoded within path uri param, > that shouldn't do! Actually it should, that's what the CMIS spec says: " Arguments that are substituted for URI template parameters MUST be percent escaped according to RFC3986 " > code: > IRI objectByPathRequest = objectByPathTemplate.generateUri(variables); > > So the uri which is : > http://localhost:8080/xcmis/rest/cmisatom/cmis1/objectbypath/%2FCMISTCK%201266939409428%20-%20testObjectByPath%2FtestObjectByPath?filter=&includeAllowableActions=&includePolicyIds=&includeRelationships=&includeACL=&renditionFilter= > should be: > http://localhost:8080/xcmis/rest/cmisatom/cmis1/objectbypath/CMISTCK%201266939409428%20-%20testObjectByPath/testObjectByPath?filter=&includeAllowableActions=&includePolicyIds=&includeRelationships=&includeACL=&renditionFilter= No it shouldn't. Juste because it's a "path" parameter doesn't mean that slashes shouldn't be encoded. Regards, Florent -- Florent Guillaume, Director of R&D, Nuxeo Open Source, Java EE based, Enterprise Content Management (ECM) http://www.nuxeo.com http://www.nuxeo.org +33 1 40 33 79 87
