From a685c6c4e5fbb0a9b81ee14545b0752e9187c2db Mon Sep 17 00:00:00 2001 From: Kenneth Skovhede Date: Mon, 24 Mar 2025 11:35:04 +0100 Subject: [PATCH] Fixed URL parser not treating `file://C:\path` the same as `C:\Path`. This fixes #6071 --- Duplicati/Library/Utility/Uri.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Duplicati/Library/Utility/Uri.cs b/Duplicati/Library/Utility/Uri.cs index 0e918132e..abfb3cfb5 100644 --- a/Duplicati/Library/Utility/Uri.cs +++ b/Duplicati/Library/Utility/Uri.cs @@ -185,8 +185,8 @@ namespace Duplicati.Library.Utility // file://c:\test support if (h.Length == 1 && p.StartsWith(":", StringComparison.Ordinal)) { - h = h + p; - p = ""; + p = h + p; + h = null; } this.Host = h;