Skip to content
This repository was archived by the owner on Nov 25, 2020. It is now read-only.

Commit 18635db

Browse files
committed
Empty mask filtering on meta.syncable can create an issue with sync downloads.
1 parent c046cb3 commit 18635db

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

core/src/plugins/meta.syncable/class.ChangesTracker.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -195,6 +195,9 @@ public function switchActions($actionName, $httpVars, $fileVars)
195195
$masks = array();
196196
$currentRepo = $this->accessDriver->repository;
197197
AJXP_Controller::applyHook("role.masks", array($currentRepo->getId(), &$masks, AJXP_Permission::READ));
198+
if(count($masks) == 1 && $masks[0] == "/"){
199+
$masks = array();
200+
}
198201
$recycle = $currentRepo->getOption("RECYCLE_BIN");
199202
$recycle = (!empty($recycle)?$recycle:false);
200203

0 commit comments

Comments
 (0)