mirror of
https://github.com/bitwarden/mobile
synced 2026-01-21 11:53:15 +00:00
fix ip address matching on getdomain
This commit is contained in:
@@ -63,7 +63,7 @@ namespace Bit.Core.Utilities
|
||||
return null;
|
||||
}
|
||||
|
||||
if(uri.Host == "localhost" || Regex.IsMatch(uriString, IpRegex))
|
||||
if(uri.Host == "localhost" || Regex.IsMatch(uri.Host, IpRegex))
|
||||
{
|
||||
return uri.Host;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user