From d98e1096e3e17d863f983aab9bb03b2ade2114eb Mon Sep 17 00:00:00 2001 From: Carl Johnsen Date: Tue, 8 Jul 2025 07:50:39 +0200 Subject: [PATCH] Fixed case where the arguments passed to the remote synchronization tool might emit everything past the second equals sign --- Tools/RemoteSynchronization/Program.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Tools/RemoteSynchronization/Program.cs b/Tools/RemoteSynchronization/Program.cs index 9c553a5c4..cbc988f1f 100644 --- a/Tools/RemoteSynchronization/Program.cs +++ b/Tools/RemoteSynchronization/Program.cs @@ -171,11 +171,11 @@ destination will be verified before being overwritten (if they seemingly match). Dictionary src_opts = config.SrcOptions .Select(x => x.Split("=")) - .ToDictionary(x => x[0], x => x[1]); + .ToDictionary(x => x[0], x => string.Join("=", x.Skip(1))); Dictionary dst_opts = config.DstOptions .Select(x => x.Split("=")) - .ToDictionary(x => x[0], x => x[1]); + .ToDictionary(x => x[0], x => string.Join("=", x.Skip(1))); // Merge the global options into the source and destination options. The global options will be overridden by the source and destination options. foreach (var x in global_options)