Skip to content

Commit

Permalink
Fix: Opening game links doesn't work in specific cases
Browse files Browse the repository at this point in the history
  • Loading branch information
JosefNemec committed Oct 23, 2021
1 parent 82eeda1 commit 0348b46
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/Playnite/Commands/GlobalCommands.cs
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ public static void NavigateUrl(string url)
}

url = url.Replace("{AppBranch}", PlayniteEnvironment.AppBranch);
if (!url.IsUri())
if (!Regex.IsMatch(url, @"^.*:\/\/"))
{
if (Paths.IsFullPath(url))
{
Expand Down

0 comments on commit 0348b46

Please sign in to comment.