Prefer specific entry when two or more entries are found

I have an URL:

And two matching entries:

  • Entry #1:

    • KeePass URL Field = blank
    • Kee > URLs > Domain
    • Kee > URLs > Additional URLs: https://..r.stu.vwxyz/?.
    • “Preferred matching entry” = false in Kee browser extension
  • Entry #2:

Expected result: Entry #2 is sorted as best entry
Actual result: Entry #1 is sorted as best entry
Question: how can I make sure that Entry #2 is sorted as best entry?

KeePass 2.57 (64-bit)
Kee Browser Extension (Edge) 4.0.6
KeePassRPC 1.14.0.0
Edge Version 127.0.2651.98 (Official build) (64-bit)
Windows Server 2019 (Version 1809) [OS Build 17763.6189]

I’m not seeing an option to edit my post, but it seems parts of the ‘Additional URLs’ in Entry #1 were interpreted as formatting by Discourse. This was supposed to be a Regular Expression, so I’ll try again in a code block:

https:\/\/.*\.r\.stu\.vwxyz\/?.*

@luckyrat do you have any suggestions by chance?

The “Domain” match preference in entry#1 won’t have any effect since you have a Regex in the additional URLs for that entry - Regex’s are always treated as an “Exact” match.

Not sure off the top of my head whether that alone will explain your issue but also make sure you’ve read Preferred entries and understood how they are supposed to work.

I doubt it will make much of a difference but have you tried the latest KeePassRPC version? Just in case the entry configuration changes there have fixed a bug we’re not aware of.