mirror of
https://github.com/MacPass/MacPass.git
synced 2025-12-14 15:12:21 +00:00
Fixed refactoring bug in tag matching
Signed-off-by: michael starke <michael.starke@hicknhack-software.com>
This commit is contained in:
@@ -85,8 +85,9 @@
|
||||
foundMatch = [windowTitle rangeOfString:entry.url options:NSCaseInsensitiveSearch].length != 0;
|
||||
}
|
||||
/* test for host */
|
||||
if(matchHost && foundMatch) {
|
||||
//TODO:
|
||||
if(matchHost && !foundMatch) {
|
||||
NSURL *url = [NSURL URLWithString:entry.url];
|
||||
foundMatch = [windowTitle rangeOfString:url.host options:NSCaseInsensitiveSearch].length != 0;
|
||||
}
|
||||
/* test for tags */
|
||||
if(matchTags && !context.valid) {
|
||||
|
||||
Reference in New Issue
Block a user