diff options
author | Thomas Müller <thomas.mueller@tmit.eu> | 2015-10-23 17:27:07 +0200 |
---|---|---|
committer | Thomas Müller <thomas.mueller@tmit.eu> | 2015-10-23 17:27:07 +0200 |
commit | 0aaef4c2993f6fd37136904142ed58986b5d8f27 (patch) | |
tree | 0014c5b446404d18f4ab900c1bb01a9f9e202c07 | |
parent | 190acd28e5607fa876f1e9036712affb00ebab36 (diff) | |
parent | 9d7138aa50a87108d9d6ba0849cea0bc8f27c9d9 (diff) | |
download | nextcloud-server-0aaef4c2993f6fd37136904142ed58986b5d8f27.tar.gz nextcloud-server-0aaef4c2993f6fd37136904142ed58986b5d8f27.zip |
Merge pull request #20004 from owncloud/dont-lock-user-files
Dont lock /$user/files
-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 04932d69384..1639f765f69 100644 --- a/lib/private/files/view.php +++ b/lib/private/files/view.php @@ -1941,7 +1941,7 @@ class View { $pathSegments = explode('/', $path); if (isset($pathSegments[2])) { // E.g.: /username/files/path-to-file - return $pathSegments[2] === 'files'; + return ($pathSegments[2] === 'files') && (count($pathSegments) > 3); } return true; |