Ensure GetFolderEncryptStatusJob gets all the folders
authorKevin Ottens <kevin.ottens@nextcloud.com>
Thu, 18 Jun 2020 11:34:47 +0000 (13:34 +0200)
committerKevin Ottens <kevin.ottens@nextcloud.com>
Tue, 30 Jun 2020 09:29:08 +0000 (11:29 +0200)
commit3db267a03b74a3ddb8a525d239e3003620919f50
treeee42de21f35112851541779b4f967782f02d3b3b
parentf93fdafa80b23b98b47826296bfed3e130181fd5
Ensure GetFolderEncryptStatusJob gets all the folders

We ensure the PROPFIND Depth is infinity by explicitly specifying the
header (turns out our implementation just doesn't assume infinity
otherwise). This way we have a clear picture about *all* the folders of
the user, otherwise ClientSideEncryption couldn't be a trustable oracle
on the encryption state for any folder not on the root and all the
encryption code assumes it has a full picture of encryption.

Signed-off-by: Kevin Ottens <kevin.ottens@nextcloud.com>
src/libsync/clientsideencryptionjobs.cpp