diff options
author | Joas Schilling <coding@schilljs.com> | 2017-08-10 12:35:33 +0200 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2017-09-11 11:18:56 +0200 |
commit | d25ea6ae1cf6c030429df41f85d1b8037a106117 (patch) | |
tree | ed1409b00a0b862efc56eebd03c2f9b85b8874f8 /lib | |
parent | 9cae892974010aa913c1a9a2edd9b4722054d1c4 (diff) | |
download | nextcloud-server-d25ea6ae1cf6c030429df41f85d1b8037a106117.tar.gz nextcloud-server-d25ea6ae1cf6c030429df41f85d1b8037a106117.zip |
Don't lock in the appdata_ directory
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/private/Files/View.php | 2 |
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; } /** |