[FIX] Consider default URI match type on filtering (#830)

This commit is contained in:
Jose F. Fernandez 2020-04-14 20:56:57 +02:00 committed by GitHub
parent 1dc027cf49
commit ed259cd130
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -342,7 +342,12 @@ namespace Bit.Core.Services
continue; continue;
} }
var match = false; var match = false;
switch (u.Match) var toMatch = defaultMatch;
if (u.Match != null)
{
toMatch = u.Match;
}
switch (toMatch)
{ {
case null: case null:
case UriMatchType.Domain: case UriMatchType.Domain: