Fixed URL parser not treating file://C:\path the same as C:\Path.

This fixes #6071
This commit is contained in:
Kenneth Skovhede
2025-03-24 11:35:04 +01:00
parent ae59ed294f
commit a685c6c4e5
+2 -2
View File
@@ -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;