Hello,

Slide supports an additional property named "displayname". To my
understanding this property may contain slashes without a problem, thus the
name of the resource can not contain extra slashes as Remy stated.

Might this be a solution for you?

Juergen



 -----Original Message-----
From:   Remy Maucherat [mailto:[EMAIL PROTECTED]] 
Sent:   Tuesday, July 31, 2001 22.12 PM
To:     [EMAIL PROTECTED]
Subject:        Re: Slashes within node names

Quoting "Blackmore, Colin" <[EMAIL PROTECTED]>:

> Hi,
> 
> I'm currently using slide-1.0.11 to create a DAV interface to sit on top
> of
> a legacy Content Management System.
> 
> Within the legacy system, there are a number of nodes containing slashes
> (
> '/' ), which are causing problems for slide.
> 
> I have tried escaping them on the url ( using '%2F' ) but they are
> always
> resolved back to a slash before any of the helper methods are called. 
> It
> also appears that slide is internally using the resolved url to
> determine
> the parent of the node.  As a result you are unable to browse down any
> of
> these branches.
> 
> Has anyone else had this problem?  Does anyone have any work-arounds?

That's a tough problem.

The '/' is the path delimiter, and is a special character in many many
systems, 
including Slide.
Encoding it doesn't work either, because :
- the latest versions of Tomcat will simply refuse a request where '/' is 
encoded as %2F, as it was the root cause for a big security hole
- Slide has to actually decode the URI, and the '/' is decoded at the same
time

The only workaround I can think of is replacing the '/' which are in the
file 
names by some other safer character, like '_'.

Remy

Reply via email to