tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ewout Prangsma <e.prang...@daisysoftware.com>
Subject Depth bug in WebdavServlet.doPropfind
Date Sat, 30 Mar 2002 13:38:01 GMT
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:   <mailto:tomcat-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-dev-help@jakarta.apache.org>


Mime
View raw message