Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2017-08-10 13:35:33 +0300
committerJoas Schilling <coding@schilljs.com>2017-09-11 12:18:56 +0300
commitd25ea6ae1cf6c030429df41f85d1b8037a106117 (patch)
treeed1409b00a0b862efc56eebd03c2f9b85b8874f8
parent9cae892974010aa913c1a9a2edd9b4722054d1c4 (diff)
Don't lock in the appdata_ directory
Signed-off-by: Joas Schilling <coding@schilljs.com>
-rw-r--r--lib/private/Files/View.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/Files/View.php b/lib/private/Files/View.php
index 6d3f2b0ba9f..da1c67471ab 100644
--- a/lib/private/Files/View.php
+++ b/lib/private/Files/View.php
@@ -2066,7 +2066,7 @@ class View {
return ($pathSegments[2] === 'files') && (count($pathSegments) > 3);
}
- return true;
+ return strpos($path, '/appdata_') !== 0;
}
/**