mirror of
https://github.com/bitwarden/android.git
synced 2024-12-25 02:18:27 +03:00
fixes bitwarden/mobile#967 (#1067)
This commit is contained in:
parent
8fe8c42765
commit
570edb4319
1 changed files with 1 additions and 1 deletions
|
@ -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))
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue