From ed259cd1306e194aa965a7af0186c27aa00f2013 Mon Sep 17 00:00:00 2001 From: "Jose F. Fernandez" Date: Tue, 14 Apr 2020 20:56:57 +0200 Subject: [PATCH] [FIX] Consider default URI match type on filtering (#830) --- src/Core/Services/CipherService.cs | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/Core/Services/CipherService.cs b/src/Core/Services/CipherService.cs index 4809cd59c..fd8ae51fa 100644 --- a/src/Core/Services/CipherService.cs +++ b/src/Core/Services/CipherService.cs @@ -342,7 +342,12 @@ namespace Bit.Core.Services continue; } var match = false; - switch (u.Match) + var toMatch = defaultMatch; + if (u.Match != null) + { + toMatch = u.Match; + } + switch (toMatch) { case null: case UriMatchType.Domain: