[prev in list] [next in list] [prev in thread] [next in thread] 

List:       tomcat-dev
Subject:    Depth bug in WebdavServlet.doPropfind
From:       Ewout Prangsma <e.prangsma () daisysoftware ! com>
Date:       2002-03-30 13:38:01
[Download RAW message or body]

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>

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic