Describe the bug
It seems that keewebhttp does not respect subdomains with the ChromeKeePass extension. I have already talked to the extension developer, he said that the extension passes the full url to KeeWeb, but Keeweb does not return a specific result for the current subdomain, but for all sites under the main domain.
So it is also some kind of design question if this behavior is intended, and the results should be filtered by the extension itself. But imo keeweb should only expose the minimal dataset for security reasons, as the user can not predict what happens to the autofill credentials on a (possibly) corrupted website.
To Reproduce
Steps to reproduce the behavior:
example.comsubdomain.example.comother-subdomain.example.comExpected behavior
KeeWeb should only suggest the password with a 100% match for the subdomain. Possibly also the password with the url that has not a subdomain (1st), as it can be considered as kind of wildcard login.
Environment
Chrome/Edge
It should be probably a setting, because it can be a desired behavior too.
@antelle I also believe this related to the autotype issue issue and I think one entry could mapping to multiple domains or applications as well, for long term design, I would like to see KeeWeb can support one entry can auto type multiple Application/domains, otherwise, users have to duplicate the same keepass entry in order achieve this function which is not a good practice
This issue not exactly fixed as asked, and won't be fixed in this form because KeePassHttp is deprecated, but v1.18 version will have an option for subdomains:
