aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Gapczynski <mtgap@owncloud.com>2013-01-11 21:09:58 -0500
committerMichael Gapczynski <mtgap@owncloud.com>2013-01-11 21:09:58 -0500
commit094a852bff378c03c873b6e8fd94587d2a2c784e (patch)
tree1e32881a8efbf5b3c925b826b1656cbc8328b919
parentb30648cb7dc258208fad4dadb297aa1d792fa7ef (diff)
downloadnextcloud-server-094a852bff378c03c873b6e8fd94587d2a2c784e.tar.gz
nextcloud-server-094a852bff378c03c873b6e8fd94587d2a2c784e.zip
Wrap the etag in double quotes
-rw-r--r--lib/connector/sabre/node.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/connector/sabre/node.php b/lib/connector/sabre/node.php
index dd8ae152ff5..93d8fc477d6 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;
}