Skip to content

Commit

Permalink
fix for CODY-VS-4W
Browse files Browse the repository at this point in the history
  • Loading branch information
Tomasz Gołębiowski committed Jan 8, 2025
1 parent 0b5d396 commit 5691ed5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Cody.Core/Common/StringExtensions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ public static class StringExtensions
{
public static string ToUri(this string path)
{
var uri = new Uri(path).AbsoluteUri;
var uri = new Uri("file:///" + path).AbsoluteUri;
return Regex.Replace(uri, "(file:///)(\\D+)(:)", m => m.Groups[1].Value + m.Groups[2].Value.ToLower() + "%3A");
}

Expand Down

0 comments on commit 5691ed5

Please sign in to comment.