make sure that we really catch the files folder only

This commit is contained in:
Bjoern Schiessle 2014-09-17 10:40:41 +02:00
parent 2ee14c4734
commit a280859bf8
1 changed files with 1 additions and 1 deletions

View File

@ -54,7 +54,7 @@ class Proxy extends \OC_FileProxy {
$view = new \OC\Files\View();
// files outside of the files-folder are excluded
if(strpos($path, '/' . $uid . '/files') !== 0) {
if(strpos($path, '/' . $uid . '/files/') !== 0) {
return true;
}