diff options
author | Robin Appelman <icewind@owncloud.com> | 2013-02-10 13:55:20 +0100 |
---|---|---|
committer | Robin Appelman <icewind@owncloud.com> | 2013-02-10 13:55:20 +0100 |
commit | 121c1f2fc04d44e7033790c02d2b7b360c38870b (patch) | |
tree | d0ed224e8730f140d9632abcb0cda50616f7ba37 /lib/connector/sabre/directory.php | |
parent | 1c56539c01c162676a05d90e3598b7d68394ac73 (diff) | |
download | nextcloud-server-121c1f2fc04d44e7033790c02d2b7b360c38870b.tar.gz nextcloud-server-121c1f2fc04d44e7033790c02d2b7b360c38870b.zip |
wrap etags in quotes when doing a propfind on a folder
Diffstat (limited to 'lib/connector/sabre/directory.php')
-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) { // |