Merge pull request #1588 from owncloud/etag_quotes

wrap etags in quotes when doing a propfind on a folder
This commit is contained in:
Frank Karlitschek 2013-02-10 06:44:45 -08:00
commit bc2bfea399

View 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) {
//