mirror of https://github.com/keeweb/keeweb.git
fix #648: auto-type on subdomains
This commit is contained in:
parent
62cdb32423
commit
4ec08bf50e
|
@ -46,8 +46,12 @@ AutoTypeFilter.prototype.getEntryRank = function(entry) {
|
|||
if (entryUrlParts) {
|
||||
const [, scheme, domain, path] = entryUrlParts;
|
||||
const [, thisScheme, thisDomain, thisPath] = this.urlParts;
|
||||
if (domain === thisDomain) {
|
||||
rank += 10;
|
||||
if (domain === thisDomain || thisDomain.indexOf('.' + domain) > 0) {
|
||||
if (domain === thisDomain) {
|
||||
rank += 20;
|
||||
} else {
|
||||
rank += 10;
|
||||
}
|
||||
if (path === thisPath) {
|
||||
rank += 10;
|
||||
} else if (path && thisPath) {
|
||||
|
|
|
@ -12,6 +12,7 @@ Release notes
|
|||
`*` password can be hidden as other fields
|
||||
`*` clear clipboard on exit
|
||||
`*` don't remove spaces in custom fields
|
||||
`*` auto-type on subdomains
|
||||
|
||||
##### v1.5.6 (2017-08-31)
|
||||
`-` fix #722: hang on start in desktop
|
||||
|
|
Loading…
Reference in New Issue