]> source.dussan.org Git - nextcloud-server.git/commit
prevent the root storage from accidentally scanning user folders 21360/head
authorRobin Appelman <robin@icewind.nl>
Wed, 10 Jun 2020 13:27:30 +0000 (15:27 +0200)
committerRoeland Jago Douma <roeland@famdouma.nl>
Thu, 11 Jun 2020 13:41:33 +0000 (15:41 +0200)
commite9b5514186a996d424346db0727ec677f98281fa
tree2aded60fbea0caf9ab72ba25fe615fc36541cf7a
parent83303ef9dfbdc07ff5bddd0ee64abdda4cf35647
prevent the root storage from accidentally scanning user folders

while this scan *should* never be triggered, it's good to have some failsafe to ensure
that the users home contents don't end up getting scanned in the root storage

Signed-off-by: Robin Appelman <robin@icewind.nl>
lib/composer/composer/autoload_classmap.php
lib/composer/composer/autoload_static.php
lib/private/Files/Cache/LocalRootScanner.php [new file with mode: 0644]
lib/private/Files/Storage/LocalRootStorage.php [new file with mode: 0644]
lib/private/legacy/OC_Util.php
tests/lib/Files/Cache/LocalRootScannerTest.php [new file with mode: 0644]