From f03c0ecc3b04c20be33e04f785df9bb417a2b37e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20Jur=C3=A1=C5=A1ek?= Date: Thu, 9 Jul 2015 08:41:48 +0200 Subject: [PATCH] Windows phone 8.1 sends ETag=*, see https://www.ietf.org/rfc/rfc2068.txt, chapter 14.25 --- inc/caldav-DELETE.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inc/caldav-DELETE.php b/inc/caldav-DELETE.php index ac3715ec..a0997434 100644 --- a/inc/caldav-DELETE.php +++ b/inc/caldav-DELETE.php @@ -69,7 +69,7 @@ if ( $dav_resource->IsCollection() ) { } } else { - if ( (isset($request->etag_if_match) && $request->etag_if_match != $dav_resource->unique_tag() ) ) { + if ( isset($request->etag_if_match) && $request->etag_if_match != $dav_resource->unique_tag() && $request->etag_if_match != "*" ) { $request->DoResponse( 412, translate("Resource has changed on server - not deleted") ); }