aboutsummaryrefslogtreecommitdiffstats
path: root/lib/connector/sabre/node.php
diff options
context:
space:
mode:
authorSam Tuke <samtuke@owncloud.com>2012-09-18 14:36:08 +0100
committerSam Tuke <samtuke@owncloud.com>2012-09-18 14:36:08 +0100
commitdc0dc56d481844f55d08b08736b6ce8d7d2918e1 (patch)
tree8994e1c06f3e6e59648187394511571bfc3efc25 /lib/connector/sabre/node.php
parentb765e883f32bf271c77e4bfa4a88249e5b371a1a (diff)
parent06e963c54f3067381784c976df75c250e43a95bd (diff)
downloadnextcloud-server-dc0dc56d481844f55d08b08736b6ce8d7d2918e1.tar.gz
nextcloud-server-dc0dc56d481844f55d08b08736b6ce8d7d2918e1.zip
Merge branch 'master' of https://github.com/owncloud/core
Diffstat (limited to 'lib/connector/sabre/node.php')
-rw-r--r--lib/connector/sabre/node.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/connector/sabre/node.php b/lib/connector/sabre/node.php
index 2916575e2d5..ecbbef81292 100644
--- a/lib/connector/sabre/node.php
+++ b/lib/connector/sabre/node.php
@@ -235,7 +235,7 @@ abstract class OC_Connector_Sabre_Node implements Sabre_DAV_INode, Sabre_DAV_IPr
static public function removeETagPropertyForPath($path) {
// remove tags from this and parent paths
$paths = array();
- while ($path != '/' && $path != '') {
+ while ($path != '/' && $path != '.' && $path != '') {
$paths[] = $path;
$path = dirname($path);
}