You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by Ewout Prangsma <e....@daisysoftware.com> on 2002/03/30 14:38:01 UTC

Depth bug in WebdavServlet.doPropfind

Hello all,

Can some tomcat developer include this bug-fix in the WebdavServlet code.

The doPropfind goes one level too deep with list(...) requests. This 
results in a list operations of each sub-context, while I'm only asking 
for a list of the context itself.

I've taken tomcat 4.0.2 as source.


row 594:
replace
// if (object instanceof DirContext) {
by
    if ((object instanceof DirContext) && (depth > 0)) {


Thanks

Ewout Prangsma

-- 
Ewout Prangsma, Directeur
Daisy Software
Telefoon/fax: +31-77-3270305/3270306
Email: e.prangsma@daisysoftware.com
Website: www.daisysoftware.com
KvK Venlo nr. 12046144




--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>