Use restore mode when listing folders to ensure we can list all, and that the permission requests matches the restore operation

This commit is contained in:
Kenneth Skovhede
2026-02-17 09:32:22 +01:00
parent d9b5cb256d
commit 93092e968b
@@ -94,7 +94,7 @@ public class WebModule : IWebModule
foreach (var key in uri.QueryParameters.AllKeys)
forwardoptions[key!] = uri.QueryParameters[key];
using var client = new SourceProvider(url, "", forwardoptions);
using var client = new SourceProvider(url, "", forwardoptions, true);
await client.Initialize(cancellationToken);
var targetEntry = await client.GetEntry((path ?? "").TrimStart('/'), isFolder: true, cancellationToken).ConfigureAwait(false);