diff options
author | Frank Karlitschek <frank@owncloud.org> | 2013-02-10 06:44:45 -0800 |
---|---|---|
committer | Frank Karlitschek <frank@owncloud.org> | 2013-02-10 06:44:45 -0800 |
commit | bc2bfea399af2611b58325109b878d39197ef61b (patch) | |
tree | dd60525ee9fcec8fe1deaed6219ac9ecdf10b395 /lib/connector | |
parent | d08a3bb46e01a61c9ac9889e700f82eaf63fd1f1 (diff) | |
parent | 121c1f2fc04d44e7033790c02d2b7b360c38870b (diff) | |
download | nextcloud-server-bc2bfea399af2611b58325109b878d39197ef61b.tar.gz nextcloud-server-bc2bfea399af2611b58325109b878d39197ef61b.zip |
Merge pull request #1588 from owncloud/etag_quotes
wrap etags in quotes when doing a propfind on a folder
Diffstat (limited to 'lib/connector')
-rw-r--r-- | lib/connector/sabre/directory.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/connector/sabre/directory.php b/lib/connector/sabre/directory.php index b210602bbf4..c4062170d5e 100644 --- a/lib/connector/sabre/directory.php +++ b/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) { // |