]> source.dussan.org Git - nextcloud-server.git/commit
Use a proper upload file so propfinds return 404
authorRoeland Jago Douma <roeland@famdouma.nl>
Mon, 20 Apr 2020 20:50:52 +0000 (22:50 +0200)
committerRoeland Jago Douma <roeland@famdouma.nl>
Tue, 21 Apr 2020 08:33:28 +0000 (10:33 +0200)
commit8730cc6764d6e6c030602088835e473268d3a384
tree3442ef6a1e9adc334ab717db6123de64bb355ced
parentb1a90da34730a6c119df4cb5b992177d8dbedeca
Use a proper upload file so propfinds return 404

Fixes #20235

By using an UploadFile we make sure that we don't need to have another
check everywhere for the path. But we just have ot check (which we have
to anyway) if it is a proper Connector/File (or directory).

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
apps/dav/composer/composer/autoload_classmap.php
apps/dav/composer/composer/autoload_static.php
apps/dav/lib/Upload/UploadFile.php [new file with mode: 0644]
apps/dav/lib/Upload/UploadFolder.php