mirror of
https://github.com/nextcloud/server.git
synced 2026-05-28 04:32:30 -04:00
we can also have a path user/cache/...
This commit is contained in:
parent
ae3df84e20
commit
fe7fb66ef8
1 changed files with 1 additions and 1 deletions
|
|
@ -274,7 +274,7 @@ class Helper {
|
|||
$split = explode('/', $trimmed);
|
||||
|
||||
// it is not a file relative to data/user/files
|
||||
if (count($split) < 2 || $split[1] !== 'files') {
|
||||
if (count($split) < 2 || $split[1] !== 'files' || $split[1] !== 'cache') {
|
||||
return false;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue