-
-
Notifications
You must be signed in to change notification settings - Fork 276
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Autofill: Recognize distinct hyphenated domain names #1105
Comments
KeePassDX cannot guess that credentials from one domain are running on another domain. You just have to fill a new custom field in the basketball site entry, to add |
I guess what happens here is the following:
So an entry with URL "forums.nba-live.com" will also match. |
@J-Jamet Did you read my comment? What do you think? |
Yes you're right, I got the problem backwards. |
My first idea to solve this problem is to add a "." to search as a prefix, but it won't work if there is no subdomain. So I think it's better to leave the current behavior, just select the right domain when clicking. Unless you have another idea for fixing this bug. |
I had a look at the code last week and was a bit surprised how much effort is made to determine the "public suffix" of the domain (which is not necessarily the top level domain, e.g. co.uk is a public suffix). |
I don't have the whole subject in mind anymore but I know that it solves specific problems, I had done many tests. In one case there will be URL redirection, in other cases not, so for example if you register a url with |
I see, so probably it's better to leave it as it is. |
I know that's often the case for subdomains with periods (for example en.m.wikipedia.org has the same login and domain as en.wikipedia.org), but I don't think that applies to hyphens. live.com and nba-live.com are completely separate domains with separate ownership and Whois registrations
‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐
…On Thursday, September 23rd, 2021 at 3:20 AM, Uli ***@***.***> wrote:
I see, so probably it's better to leave it as it is.
—
You are receiving this because you authored the thread.
Reply to this email directly, [view it on GitHub](#1105 (comment)), or [unsubscribe](https://github.com/notifications/unsubscribe-auth/AQ7LBTFFE4QQM73TDWFUYOTUDIUARANCNFSM5EAGN3NA).
Triage notifications on the go with GitHub Mobile for [iOS](https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675) or [Android](https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub).
|
We can manually see that they are different domains in your case, but the search doesn't know that since "live.com" is searched and I don't see a method to solve this problem without breaking something else. |
J-Jamet, could you add an option to only look up matches in URL section for autofill suggestions? |
I have found a satisfactory solution, the idea is to check the URL field of the entry if :
This will be in the next release. Please let me know if you see any regressions with your URLs. |
Please retest with version 4.1.0 and let me know if the problem has been solved. |
Feel free to merge this with issue #1820 because it's the same, maybe just seen from a different angle. I hadn't realised how old this issue was. Wow. This is a big problem because it makes phishing way easier. Also as I have mentioned in #1820 this was not fixed correctly. At the moment, most of my entries don't match at all regardless of the setting "subdomain" search. It seems to work if the login is on the www subdomain. |
Actually, this issue is fixed but not the #1820. I thought it would solve both at the same time, but no. |
Describe the bug
Not sure if I worded the title right, but whenever I log in to my Microsoft Outlook email, I'm sent to login.live.com. But KeePassDX also lists accounts for forums.nba-live.com (a site for basketball discussion)
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Only the one for login.live.com should be listed on the autofill section of my keyboard.
KeePass Database
KeePassDX (please complete the following information):
Android (please complete the following information):
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: