From d25ea6ae1cf6c030429df41f85d1b8037a106117 Mon Sep 17 00:00:00 2001 From: Joas Schilling Date: Thu, 10 Aug 2017 12:35:33 +0200 Subject: [PATCH] Don't lock in the appdata_ directory Signed-off-by: Joas Schilling --- lib/private/Files/View.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } /**