]> granicus.if.org Git - apache/commitdiff
Allow mod_dav to be involved with sub-requests.
authorJustin Erenkrantz <jerenkrantz@apache.org>
Thu, 5 Sep 2002 06:24:38 +0000 (06:24 +0000)
committerJustin Erenkrantz <jerenkrantz@apache.org>
Thu, 5 Sep 2002 06:24:38 +0000 (06:24 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@96640 13f79535-47bb-0310-9956-ffa450edef68

modules/dav/main/mod_dav.c

index c5dd5566b4530c1425da1bf7e8dc59c5f7000760..5940eade97024b9ce70d59b759fc7b23cdc1cedd 100644 (file)
@@ -4429,8 +4429,8 @@ static int dav_handler(request_rec *r)
         return DECLINED;
     }
 
-    /* quickly ignore any HTTP/0.9 requests */
-    if (r->assbackwards) {
+    /* quickly ignore any HTTP/0.9 requests which aren't subreqs. */
+    if (r->assbackwards && !r->main) {
         return DECLINED;
     }