diff options
author | Joas Schilling <coding@schilljs.com> | 2017-08-10 12:35:33 +0200 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2017-08-10 12:35:33 +0200 |
commit | b9b88aa666ba8420311b6f6f24b42aadd03eed04 (patch) | |
tree | b7dc30850ec695f3fb53dfc24c2d314f7821570d /lib/private | |
parent | 5515c7b2c0fd349a3c9bda680030b126ba223b61 (diff) | |
download | nextcloud-server-b9b88aa666ba8420311b6f6f24b42aadd03eed04.tar.gz nextcloud-server-b9b88aa666ba8420311b6f6f24b42aadd03eed04.zip |
Don't lock in the appdata_ directory
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'lib/private')
-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 3fe6d43ca31..7fee0883a25 100644 --- a/lib/private/Files/View.php +++ b/lib/private/Files/View.php @@ -2057,7 +2057,7 @@ class View { return ($pathSegments[2] === 'files') && (count($pathSegments) > 3); } - return true; + return strpos($path, '/appdata_') !== 0; } /** |