]> granicus.if.org Git - apache/commit
If a body arrives with an OPTIONS request, and it contains an
authorGreg Stein <gstein@apache.org>
Thu, 19 Sep 2002 02:36:08 +0000 (02:36 +0000)
committerGreg Stein <gstein@apache.org>
Thu, 19 Sep 2002 02:36:08 +0000 (02:36 +0000)
commit41b61ff59f8e667188055382036da1417a7e002b
treea86d0c583ab99b6f0a418133f6e12fbd8e57216d
parent803bf93dbee1000f4607cc12e8d09f0ec6527bd6
If a body arrives with an OPTIONS request, and it contains an
<options> tag, as defined by RFC 3253, and we don't recognize the
option as a builtin one, then we pass that off to the versioning hooks
of the DAV provider for it to process. However, we neglected to check
whether the provider actually *had* versioning hooks first.

The fix: simply check for versioning hooks before using them.

Problem found by: Ryan Bloom <rbb@apache.org>

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