now just skip over it rather than aborting.
PR: 16452
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@98524
13f79535-47bb-0310-9956-
ffa450edef68
[Remove entries to the current 2.0 section below, when backported]
+ *) Fix If header parsing when a non-mod_dav lock token is passed to it.
+ PR 16452. [Justin Erenkrantz]
+
*) Fix bug where 'Satisfy Any' without an AuthType lost all MIME
information (and more). Related to PR 9076. [André Malo]
if ((err = (*locks_hooks->parse_locktoken)(p, state_token,
&new_sl->locktoken)) != NULL) {
- /* ### maybe add a higher-level description */
- return err;
+ /* In cases where the state token is invalid, we'll just skip
+ * it rather than return 400.
+ */
+ if (err->error_id == DAV_ERR_LOCK_UNK_STATE_TOKEN) {
+ return NULL;
+ }
+ else {
+ /* ### maybe add a higher-level description */
+ return err;
+ }
}
}
else