diff --git a/3rdparty/Sabre/CardDAV/Card.php b/3rdparty/Sabre/CardDAV/Card.php index 98189aa9fd..52d8b79d7d 100644 --- a/3rdparty/Sabre/CardDAV/Card.php +++ b/3rdparty/Sabre/CardDAV/Card.php @@ -122,7 +122,7 @@ class Sabre_CardDAV_Card extends Sabre_DAV_File implements Sabre_CardDAV_ICard, */ public function getETag() { - return md5($this->cardData['carddata']); + return '"' . md5($this->cardData['carddata']) . '"'; } diff --git a/3rdparty/Sabre/DAV/Browser/Plugin.php b/3rdparty/Sabre/DAV/Browser/Plugin.php index 81a90558f9..8e0ca24cff 100644 --- a/3rdparty/Sabre/DAV/Browser/Plugin.php +++ b/3rdparty/Sabre/DAV/Browser/Plugin.php @@ -94,7 +94,7 @@ class Sabre_DAV_Browser_Plugin extends Sabre_DAV_ServerPlugin { public function httpPOSTHandler($method, $uri) { if ($method!='POST') return true; - if (isset($_POST['action'])) switch($_POST['action']) { + if (isset($_POST['sabreAction'])) switch($_POST['sabreAction']) { case 'mkcol' : if (isset($_POST['name']) && trim($_POST['name'])) { @@ -249,13 +249,13 @@ class Sabre_DAV_Browser_Plugin extends Sabre_DAV_ServerPlugin { if ($this->enablePost) { $html.= '