]> source.dussan.org Git - nextcloud-server.git/commitdiff
Wrap the etag in double quotes
authorMichael Gapczynski <mtgap@owncloud.com>
Sat, 12 Jan 2013 02:09:58 +0000 (21:09 -0500)
committerMichael Gapczynski <mtgap@owncloud.com>
Sat, 12 Jan 2013 02:09:58 +0000 (21:09 -0500)
lib/connector/sabre/node.php

index dd8ae152ff50d18054b054485bee534f08d0d794..93d8fc477d6fabfb9ad0718e355b04686827c67c 100644 (file)
@@ -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;
        }