summaryrefslogtreecommitdiffstats
path: root/modules/dav
diff options
context:
space:
mode:
authorJustin Erenkrantz <jerenkrantz@apache.org>2002-09-05 08:24:38 +0200
committerJustin Erenkrantz <jerenkrantz@apache.org>2002-09-05 08:24:38 +0200
commit166354f73d5e307521d06ce396ff89981452c37d (patch)
tree1884d7dd7044ee425d779feaaec11b186a189636 /modules/dav
parentFree the temporary working brigade upon exit from ap_get_client_block() (diff)
downloadapache2-166354f73d5e307521d06ce396ff89981452c37d.tar.xz
apache2-166354f73d5e307521d06ce396ff89981452c37d.zip
Allow mod_dav to be involved with sub-requests.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@96640 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'modules/dav')
-rw-r--r--modules/dav/main/mod_dav.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/dav/main/mod_dav.c b/modules/dav/main/mod_dav.c
index c5dd5566b4..5940eade97 100644
--- a/modules/dav/main/mod_dav.c
+++ b/modules/dav/main/mod_dav.c
@@ -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;
}