httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gst...@apache.org
Subject cvs commit: httpd-2.0/modules/dav/main mod_dav.c
Date Fri, 26 Jan 2001 02:24:16 GMT
gstein      01/01/25 18:24:16

  Modified:    modules/dav/main mod_dav.c
  Log:
  we only need to worry about infinite-depth PROPFINDs if they are targeting a
  collection. allow them on plain resources.
  
  Revision  Changes    Path
  1.40      +1 -1      httpd-2.0/modules/dav/main/mod_dav.c
  
  Index: mod_dav.c
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/modules/dav/main/mod_dav.c,v
  retrieving revision 1.39
  retrieving revision 1.40
  diff -u -u -r1.39 -r1.40
  --- mod_dav.c	2001/01/20 11:29:34	1.39
  +++ mod_dav.c	2001/01/26 02:24:16	1.40
  @@ -1887,7 +1887,7 @@
   	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);
  
  
  

Mime
View raw message