mirror of
https://github.com/nextcloud/server.git
synced 2026-06-11 09:42:09 -04:00
use getGetUnjailedRoot to determine if jailed search needs the path filter
Signed-off-by: Robin Appelman <robin@icewind.nl>
This commit is contained in:
parent
09921e94f4
commit
9e5440abc3
1 changed files with 1 additions and 1 deletions
|
|
@ -306,7 +306,7 @@ class CacheJail extends CacheWrapper {
|
|||
}
|
||||
|
||||
public function getQueryFilterForStorage(): ISearchOperator {
|
||||
if ($this->root !== '' && $this->root !== '/') {
|
||||
if ($this->getGetUnjailedRoot() !== '' && $this->getGetUnjailedRoot() !== '/') {
|
||||
return new SearchBinaryOperator(ISearchBinaryOperator::OPERATOR_AND,
|
||||
[
|
||||
$this->getCache()->getQueryFilterForStorage(),
|
||||
|
|
|
|||
Loading…
Reference in a new issue