]> git.ipfire.org Git - thirdparty/apache/httpd.git/commit
Fix how mod_dav examines methods in the request -- use the method number
authorGreg Stein <gstein@apache.org>
Mon, 7 Jan 2002 22:36:15 +0000 (22:36 +0000)
committerGreg Stein <gstein@apache.org>
Mon, 7 Jan 2002 22:36:15 +0000 (22:36 +0000)
commite312a3c306890ff446dab2770cdacdc78d80bc56
treed541b7bf79130ad5c2b237cf28dd52c4901fd0c1
parent42be8caa5ae484e95035950a0291df8482bd8706
Fix how mod_dav examines methods in the request -- use the method number
from the request. To do this, we also need to register all of the new/custom
methods that mod_dav recognizes.

Note: this fixes a bug where a method (e.g. REPORT) would appear in a
Limit(Except) directive and Apache would register the method. The method
number in the request would then be something *other* than M_INVALID, which
threw off mod_dav's tests.

Submitted by: Sander Striker <striker@apache.org>

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@92764 13f79535-47bb-0310-9956-ffa450edef68
modules/dav/main/mod_dav.c
modules/http/http_protocol.c