aboutsummaryrefslogtreecommitdiffstats
path: root/lib/connector
diff options
context:
space:
mode:
authorArthur Schiwon <blizzz@owncloud.com>2012-10-02 11:44:55 +0200
committerArthur Schiwon <blizzz@owncloud.com>2012-10-02 11:45:47 +0200
commit783c02eda917cef549135103876a30bebcb89b23 (patch)
tree42e1156bf084da30f5661b3d74c9f1b704055e6c /lib/connector
parentc6c0fcc7c896e8c95bea021e2c91ed6a07917389 (diff)
downloadnextcloud-server-783c02eda917cef549135103876a30bebcb89b23.tar.gz
nextcloud-server-783c02eda917cef549135103876a30bebcb89b23.zip
fix create folder and upload file issue on win, fixes oc-1747, solution follows suggestion from bug tracker
Diffstat (limited to 'lib/connector')
-rw-r--r--lib/connector/sabre/node.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/connector/sabre/node.php b/lib/connector/sabre/node.php
index bdedc030c88..72de9723774 100644
--- a/lib/connector/sabre/node.php
+++ b/lib/connector/sabre/node.php
@@ -24,7 +24,7 @@
abstract class OC_Connector_Sabre_Node implements Sabre_DAV_INode, Sabre_DAV_IProperties {
const GETETAG_PROPERTYNAME = '{DAV:}getetag';
const LASTMODIFIED_PROPERTYNAME = '{DAV:}lastmodified';
-
+
/**
* The path to the current node
*
@@ -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 != '.' && $path != '') {
+ while ($path != '/' && $path != '.' && $path != '' && $path != '\\') {
$paths[] = $path;
$path = dirname($path);
}