diff --git a/src/App/Services/MobilePlatformUtilsService.cs b/src/App/Services/MobilePlatformUtilsService.cs index 840f91b63..d21a8a651 100644 --- a/src/App/Services/MobilePlatformUtilsService.cs +++ b/src/App/Services/MobilePlatformUtilsService.cs @@ -91,7 +91,8 @@ namespace Bit.App.Services public void LaunchUri(string uri, Dictionary options = null) { - if(uri.StartsWith("http://") || uri.StartsWith("https://")) + if((uri.StartsWith("http://") || uri.StartsWith("https://")) && + Uri.TryCreate(uri, UriKind.Absolute, out var parsedUri)) { Browser.OpenAsync(uri, BrowserLaunchMode.External); }