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
1 changed files with 1 additions and 1 deletions

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