]> granicus.if.org Git - apache/commit
We need to set r->handler to indicate that we'll be handling the
authorGreg Stein <gstein@apache.org>
Tue, 17 Sep 2002 00:41:28 +0000 (00:41 +0000)
committerGreg Stein <gstein@apache.org>
Tue, 17 Sep 2002 00:41:28 +0000 (00:41 +0000)
commit86371dd230b6e4f6bc571d1266a28320db4123d6
tree15e00755160902fb0d7e1acffcc245d6eba14b2a
parent89e5e1640c453fd92e0f00826072c6cb69a2f887
We need to set r->handler to indicate that we'll be handling the
request. Otherwise, other modules may attempt to do "funny stuff" with
the request (specifically: mod_dir will map /some/path/ into an
index.html document if found).

This reinstalls a fixups hook to set the r->handler value. Most of the
checks in the dav_handler() function are now moved to the fixups hook.
We just don't bother to set the handler unless all conditions are met.

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