mirror of
https://github.com/bitwarden/android.git
synced 2025-01-11 18:57:39 +03:00
[SG-467] Fix environment url validations (#1999)
* [SG-467] Fixed url validation so it works with or without http or https * [SG-467] Validation has been refactored for simplicity.
This commit is contained in:
parent
c2fcc0ac52
commit
f809170c51
1 changed files with 1 additions and 1 deletions
|
@ -70,7 +70,7 @@ namespace Bit.App.Pages
|
|||
{
|
||||
bool IsUrlValid(string url)
|
||||
{
|
||||
return string.IsNullOrEmpty(url) || Uri.IsWellFormedUriString(url, UriKind.Absolute);
|
||||
return string.IsNullOrEmpty(url) || Uri.IsWellFormedUriString(url, UriKind.RelativeOrAbsolute);
|
||||
}
|
||||
|
||||
return IsUrlValid(BaseUrl)
|
||||
|
|
Loading…
Reference in a new issue