From 570edb43199aa57ca774563c3065d25786d68c86 Mon Sep 17 00:00:00 2001 From: Captain Trips <31455058+capntrips@users.noreply.github.com> Date: Mon, 17 May 2021 14:38:21 -0500 Subject: [PATCH] fixes bitwarden/mobile#967 (#1067) --- src/Core/Utilities/CoreHelpers.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Core/Utilities/CoreHelpers.cs b/src/Core/Utilities/CoreHelpers.cs index e229a5969..ca32ad0a9 100644 --- a/src/Core/Utilities/CoreHelpers.cs +++ b/src/Core/Utilities/CoreHelpers.cs @@ -87,7 +87,7 @@ namespace Bit.Core.Utilities return null; } var hasHttpProtocol = uriString.StartsWith("http://") || uriString.StartsWith("https://"); - if (!hasHttpProtocol && uriString.Contains(".")) + if (!hasHttpProtocol && !uriString.Contains("://") && uriString.Contains(".")) { if (Uri.TryCreate("http://" + uriString, UriKind.Absolute, out var uri)) {