From 094a852bff378c03c873b6e8fd94587d2a2c784e Mon Sep 17 00:00:00 2001
From: Michael Gapczynski <mtgap@owncloud.com>
Date: Fri, 11 Jan 2013 21:09:58 -0500
Subject: [PATCH] Wrap the etag in double quotes

---
 lib/connector/sabre/node.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/connector/sabre/node.php b/lib/connector/sabre/node.php
index dd8ae152ff..93d8fc477d 100644
--- a/lib/connector/sabre/node.php
+++ b/lib/connector/sabre/node.php
@@ -213,7 +213,7 @@ abstract class OC_Connector_Sabre_Node implements Sabre_DAV_INode, Sabre_DAV_IPr
 	static public function getETagPropertyForPath($path) {
 		$data = \OC\Files\Filesystem::getFileInfo($path);
 		if (isset($data['etag'])) {
-			return $data['etag'];
+			return '"'.$data['etag'].'"';
 		}
 		return null;
 	}
-- 
GitLab