Merge pull request #1588 from owncloud/etag_quotes

wrap etags in quotes when doing a propfind on a folder
remotes/origin/stable5
Frank Karlitschek 12 years ago
commit bc2bfea399
  1. 2
      lib/connector/sabre/directory.php

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

Loading…
Cancel
Save