mirror of
https://github.com/MacPass/MacPass.git
synced 2025-12-17 14:49:29 +00:00
Added comment regarding KeePass settings for Autotype matching
This commit is contained in:
@@ -53,6 +53,15 @@
|
|||||||
NSArray *autotypeEntries = [self.root autotypeableChildEntries];
|
NSArray *autotypeEntries = [self.root autotypeableChildEntries];
|
||||||
NSMutableArray *contexts = [[NSMutableArray alloc] initWithCapacity:MAX(1,ceil([autotypeEntries count] / 4.0))];
|
NSMutableArray *contexts = [[NSMutableArray alloc] initWithCapacity:MAX(1,ceil([autotypeEntries count] / 4.0))];
|
||||||
for(KPKEntry *entry in autotypeEntries) {
|
for(KPKEntry *entry in autotypeEntries) {
|
||||||
|
/* TODO:
|
||||||
|
|
||||||
|
KeePass for Windows hase the following options for matching:
|
||||||
|
Title is contained
|
||||||
|
URL is contained
|
||||||
|
Host component is contained
|
||||||
|
A tag is contained
|
||||||
|
|
||||||
|
*/
|
||||||
/* Test for entry title in window title */
|
/* Test for entry title in window title */
|
||||||
NSRange titleRange = [windowTitle rangeOfString:entry.title options:NSCaseInsensitiveSearch];
|
NSRange titleRange = [windowTitle rangeOfString:entry.title options:NSCaseInsensitiveSearch];
|
||||||
/* Test for window title in entry title */
|
/* Test for window title in entry title */
|
||||||
|
|||||||
Reference in New Issue
Block a user