Fix slashes in Microsoft Graph URLs.

This fixes an issue introduced in revision f9022fec ("Avoid referencing
virtual members in constructor").

This addresses issue #3460.
This commit is contained in:
Kenneth Hsu
2018-10-27 13:03:25 -07:00
parent 12dc7b6d80
commit a567b467dc
@@ -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<string>(() => this.GetRootPathFromUrl(url));
this.rootPathFromURL = new Lazy<string>(() => MicrosoftGraphBackend.NormalizeSlashes(this.GetRootPathFromUrl(url)));
}
public abstract string ProtocolKey { get; }