mirror of
https://github.com/MacPass/MacPass.git
synced 2025-12-14 16:22: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;
|
foundMatch = [windowTitle rangeOfString:entry.url options:NSCaseInsensitiveSearch].length != 0;
|
||||||
}
|
}
|
||||||
/* test for host */
|
/* test for host */
|
||||||
if(matchHost && foundMatch) {
|
if(matchHost && !foundMatch) {
|
||||||
//TODO:
|
NSURL *url = [NSURL URLWithString:entry.url];
|
||||||
|
foundMatch = [windowTitle rangeOfString:url.host options:NSCaseInsensitiveSearch].length != 0;
|
||||||
}
|
}
|
||||||
/* test for tags */
|
/* test for tags */
|
||||||
if(matchTags && !context.valid) {
|
if(matchTags && !context.valid) {
|
||||||
|
|||||||
Reference in New Issue
Block a user