Skip to content

Commit

Permalink
Fix slashes in Microsoft Graph URLs.
Browse files Browse the repository at this point in the history
This fixes an issue introduced in revision f9022fe ("Avoid referencing
virtual members in constructor").

This addresses issue duplicati#3460.
  • Loading branch information
warwickmm committed Oct 27, 2018
1 parent 12dc7b6 commit a567b46
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -124,7 +124,7 @@ protected MicrosoftGraphBackend(string url, string protocolKey, Dictionary<strin

// 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<string>(() => this.GetRootPathFromUrl(url));
this.rootPathFromURL = new Lazy<string>(() => MicrosoftGraphBackend.NormalizeSlashes(this.GetRootPathFromUrl(url)));
}

public abstract string ProtocolKey { get; }
Expand Down

0 comments on commit a567b46

Please sign in to comment.