cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefano Mazzocchi <>
Subject [BUG] Cocoon doesn't handle trailing slashes correctly
Date Fri, 31 Oct 2003 21:39:36 GMT

On Friday, Oct 31, 2003, at 19:11 Europe/Rome, 

> ------- Additional Comments From  2003-10-31 
> 18:11 -------
> It's the second hint within two weeks that Cocoon seems not to handle 
> trailing
> slashes correctly:

I have experienced this problem right now. I have a sitemap matcher 
like this

    <map:match pattern="webdav/**">
      <map:mount check-reload="yes" src="webdav://localhost/webdav/{1}" 

that mounts on an external DAV server.

Asking for


gives me the following error

   Could not get WebDAV resource 

Note the double "webdav"!!!

If I ask for


I get the error

   Could not get WebDAV resource webdav://localhost:80/webdav/whatever

as it is supposed to be.

So, why is the ending slash transformed into another copy of the last 
path fragment?


View raw message