From a567b467dc1bc7cc5de233c9fbff0e8d75b0c8b2 Mon Sep 17 00:00:00 2001 From: Kenneth Hsu Date: Sat, 27 Oct 2018 13:03:25 -0700 Subject: [PATCH] Fix slashes in Microsoft Graph URLs. This fixes an issue introduced in revision f9022fec ("Avoid referencing virtual members in constructor"). This addresses issue #3460. --- Duplicati/Library/Backend/OneDrive/MicrosoftGraphBackend.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Duplicati/Library/Backend/OneDrive/MicrosoftGraphBackend.cs b/Duplicati/Library/Backend/OneDrive/MicrosoftGraphBackend.cs index 8e7083881..3205083b3 100644 --- a/Duplicati/Library/Backend/OneDrive/MicrosoftGraphBackend.cs +++ b/Duplicati/Library/Backend/OneDrive/MicrosoftGraphBackend.cs @@ -124,7 +124,7 @@ namespace Duplicati.Library.Backend // Extract out the path to the backup root folder from the given URI. Since this can be an expensive operation, // we will cache the value using a lazy initializer. - this.rootPathFromURL = new Lazy(() => this.GetRootPathFromUrl(url)); + this.rootPathFromURL = new Lazy(() => MicrosoftGraphBackend.NormalizeSlashes(this.GetRootPathFromUrl(url))); } public abstract string ProtocolKey { get; }