Skip to content

Commit f37f266

Browse files
leftybournesbackportbot[bot]
authored andcommitted
fix(dav): correctly mask public v1 links for non-home storages
fix(dav): correctly mask public v1 links for non-home storages Signed-off-by: Kent Delante <kent@delante.me> [skip ci]
1 parent 67dafcd commit f37f266

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

apps/dav/appinfo/v1/publicwebdav.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
*/
88
use OC\Files\Filesystem;
99
use OC\Files\Storage\Wrapper\DirPermissionsMask;
10+
use OC\Files\Storage\Wrapper\PermissionsMask;
1011
use OC\Files\View;
1112
use OCA\DAV\Connector\LegacyPublicAuth;
1213
use OCA\DAV\Connector\Sabre\ServerFactory;
@@ -18,6 +19,7 @@
1819
use OCP\BeforeSabrePubliclyLoadedEvent;
1920
use OCP\Constants;
2021
use OCP\EventDispatcher\IEventDispatcher;
22+
use OCP\Files\IHomeStorage;
2123
use OCP\Files\IRootFolder;
2224
use OCP\Files\Mount\IMountManager;
2325
use OCP\IConfig;

0 commit comments

Comments
 (0)