summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRobin Appelman <icewind@owncloud.com>2014-04-24 11:10:46 +0200
committerRobin Appelman <icewind@owncloud.com>2014-04-24 11:12:39 +0200
commitcd0c5990f895bcdce47acf2dbf11ebadd920a404 (patch)
treed45a47b67e64069cb9218a258613e80942f8bec3
parent49b44e7e228855a42771bce4b2bc10b2235557cb (diff)
downloadnextcloud-server-cd0c5990f895bcdce47acf2dbf11ebadd920a404.tar.gz
nextcloud-server-cd0c5990f895bcdce47acf2dbf11ebadd920a404.zip
properly quote etags
-rw-r--r--lib/private/connector/sabre/file.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/connector/sabre/file.php b/lib/private/connector/sabre/file.php
index 641c69dd1ff..1d5b3fce32f 100644
--- a/lib/private/connector/sabre/file.php
+++ b/lib/private/connector/sabre/file.php
@@ -185,7 +185,7 @@ class OC_Connector_Sabre_File extends OC_Connector_Sabre_Node implements Sabre_D
* @return mixed
*/
public function getETag() {
- return $this->info->getEtag();
+ return '"' . $this->info->getEtag() . '"';
}
/**