masterpassword-firefox
masterpassword-firefox copied to clipboard
Reliably identify a relevant sitename when configuring new sites
This is a separate feature opened after discussion of the subject in the #68 PR.
Example domain name:
- subdomaina.subdomainb.website.com.tw
Discussion to date has yielded the following:
- Identify the public suffix of a domain (com.tw)
- Identify the sitename as the first domain segment left of the public suffix, including the public suffix (sitename.com.tw)
- Ignore 0-n subdomains left of the sitename (~~subdomaina.subdomainb.~~website.com.tw)
- In the case where it is desired to identify the sitename as a subdomain, manual override should be accepted
Methods discussed:
- Use a limited pre-defined list of public suffixes augmented by user configurable over-rides. (#68)
- Source and load a comprehensive list of fixed public suffixes requiring no user configuration or override.
Solution 2 has been leaned toward as a favourite by importing a copy of the Public Suffix List and a system to read / use it.