From ff994629de7cbe4d961257ff21b64654b5d13ffd Mon Sep 17 00:00:00 2001 From: Kyle Spearrin Date: Thu, 18 Jun 2020 11:58:19 -0400 Subject: [PATCH] Do not process hostname for regex logins (#987) --- src/Core/Models/View/LoginUriView.cs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/Core/Models/View/LoginUriView.cs b/src/Core/Models/View/LoginUriView.cs index 0552e5cbb..c61838976 100644 --- a/src/Core/Models/View/LoginUriView.cs +++ b/src/Core/Models/View/LoginUriView.cs @@ -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);