Commit fb226cdb authored by Greg Stein's avatar Greg Stein
Browse files

we only need to worry about infinite-depth PROPFINDs if they are targeting a

collection. allow them on plain resources.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87847 13f79535-47bb-0310-9956-ffa450edef68
parent 7f2970ff
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1887,7 +1887,7 @@ static int dav_method_propfind(request_rec *r)
	return HTTP_BAD_REQUEST;
    }

    if (depth == DAV_INFINITY) {
    if (depth == DAV_INFINITY && resource->collection) {
	dav_dir_conf *conf;
	conf = (dav_dir_conf *) ap_get_module_config(r->per_dir_config,
						     &dav_module);