Don't emit the url during printing / logging as that can contain sensitive information

This commit is contained in:
Carl Johnsen
2026-03-18 15:45:25 +01:00
parent 29a8a0ad5f
commit 2dcc8df8e6
@@ -66,7 +66,13 @@ namespace RemoteSynchronization
List<string> SrcOptions,
bool VerifyContents,
bool VerifyGetAfterPut
);
)
{
public override string ToString()
{
return $"Src: {Duplicati.Library.Utility.Utility.GetUrlWithoutCredentials(Src)}, Dst: {Duplicati.Library.Utility.Utility.GetUrlWithoutCredentials(Dst)}, AutoCreateFolders: {AutoCreateFolders}, BackendRetries: {BackendRetries}, BackendRetryDelay: {BackendRetryDelay}, BackendRetryWithExponentialBackoff: {BackendRetryWithExponentialBackoff}, Confirm: {Confirm}, DryRun: {DryRun}, Force: {Force}, LogFile: {LogFile}, LogLevel: {LogLevel}, ParseArgumentsOnly: {ParseArgumentsOnly}, Progress: {Progress}, Retention: {Retention}, Retry: {Retry}, VerifyContents: {VerifyContents}, VerifyGetAfterPut: {VerifyGetAfterPut}";
}
};
/// <summary>
/// Remote synchronization tool.