Skip to content
Snippets Groups Projects
Commit 121c1f2f authored by Robin Appelman's avatar Robin Appelman
Browse files

wrap etags in quotes when doing a propfind on a folder

parent 1c56539c
No related branches found
No related tags found
No related merge requests found
......@@ -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) {
//
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment