Fix minor issues with remote sources

This updates some minor issues that would cause warnings or make things appear to not work, even though they would work fine when actually running a backup.
This commit is contained in:
Kenneth Skovhede
2026-06-12 13:47:49 +02:00
parent 3f7161873a
commit 6313471ffa
5 changed files with 22 additions and 35 deletions
@@ -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, true);
using var client = new SourceProvider(url, "", forwardoptions, false);
await client.InitializeAsync(cancellationToken);
var targetEntry = await client.GetEntryAsync((path ?? "").TrimStart('/'), isFolder: true, cancellationToken).ConfigureAwait(false);