]> source.dussan.org Git - nextcloud-server.git/commitdiff
wrap etags in quotes when doing a propfind on a folder
authorRobin Appelman <icewind@owncloud.com>
Sun, 10 Feb 2013 12:55:20 +0000 (13:55 +0100)
committerRobin Appelman <icewind@owncloud.com>
Sun, 10 Feb 2013 12:55:20 +0000 (13:55 +0100)
lib/connector/sabre/directory.php

index b210602bbf48f2a5cfd1697af349fec0713c94c0..c4062170d5e106d354387892f9dddd67c53bff10 100644 (file)
@@ -121,7 +121,7 @@ class OC_Connector_Sabre_Directory extends OC_Connector_Sabre_Node implements Sa
                $paths = array();
                foreach($folder_content as $info) {
                        $paths[] = $this->path.'/'.$info['name'];
-                       $properties[$this->path.'/'.$info['name']][self::GETETAG_PROPERTYNAME] = $info['etag'];
+                       $properties[$this->path.'/'.$info['name']][self::GETETAG_PROPERTYNAME] = '"' . $info['etag'] . '"';
                }
                if(count($paths)>0) {
                        //