]> granicus.if.org Git - apache/commit
Fix handling of unknown state tokens in If headers:
authorJoe Orton <jorton@apache.org>
Sun, 30 Oct 2005 13:25:28 +0000 (13:25 +0000)
committerJoe Orton <jorton@apache.org>
Sun, 30 Oct 2005 13:25:28 +0000 (13:25 +0000)
commitd451ccc45ad2c5f5df2ea1365cba3d0b431d231f
tree9ab172a4572145a2dfce0f5a77f6e26f4e256e12
parentf94eaece500c232da96f6c73fd8d2acf9e029d29
Fix handling of unknown state tokens in If headers:

* modules/dav/main/mod_dav.h: Add dav_if_unknown to dav_if_state_type
enum.

* modules/dav/main/util.c (dav_add_if_state): Set returned type to
dav_if_unknown for an unknown state token.
(dav_validate_resource_state): Evaluate dav_if_unknown to fail
match unless in a Not condition.

PR: 37288

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