Do not process hostname for regex logins (#987)

This commit is contained in:
Kyle Spearrin 2020-06-18 11:58:19 -04:00 committed by GitHub
parent a458b9bc88
commit ff994629de
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -67,6 +67,10 @@ namespace Bit.Core.Models.View
{
get
{
if (Match == UriMatchType.RegularExpression)
{
return null;
}
if (_hostname == null && Uri != null)
{
_hostname = CoreHelpers.GetHostname(Uri);