]> git.ipfire.org Git - thirdparty/apache/httpd.git/commit
Skip DirectoryIndex execution unless method is GET or POST, restoring
authorChris Darroch <chrisd@apache.org>
Sun, 26 Jan 2014 04:09:45 +0000 (04:09 +0000)
committerChris Darroch <chrisd@apache.org>
Sun, 26 Jan 2014 04:09:45 +0000 (04:09 +0000)
commit0afcfa4673e07d7622a60ef6a92006110d18850f
treeeed48b4dbcdb7c88bf61f5a4ee694fd7a41ff95c
parent83db5d7d3291a5d6315af0ace52b7d1896741a10
Skip DirectoryIndex execution unless method is GET or POST, restoring
2.2 behavior when using mod_dav. PR 54914.

Otherwise, variable behavior results: if no DirectoryIndex file is found,
mod_dav's r->handler runs as expected.  But if an index file is found,
r->handler will be changed by ap_internal_fast_redirect() to something
other than mod_dav's r->handler, while r->method is left unchanged,
usually leading to a 405 response.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1561447 13f79535-47bb-0310-9956-ffa450edef68
CHANGES
modules/mappers/mod_dir.c