On Wed, Feb 24, 2010 at 1:05 PM, Alexey Zavizionov <[email protected]> wrote: > On Wed, Feb 24, 2010 at 1:24 PM, Florent Guillaume <[email protected]> wrote: >> 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 " >> > > I saw it. I guess Tomcat also should respect that encoded path param > according to RFC3986. > With the url with encoded path param tomcat cannot handle request to serve > servlet :(
Yes Tomcat implements restrictions on what's allowed in a URL, as detailed in the previous thread. So the only solution to be compatible with Tomcat, if you don't want to force administrators to use a system property, is to change your implementation to pass the path as an URL parameter, behind a "?" and not have it in the main part of the URL. 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
