mirror of https://github.com/keeweb/keeweb.git
fix #602: treat www, wwws and secure as the same domain
This commit is contained in:
parent
dadc8160f7
commit
ef44bd95d7
|
@ -1,6 +1,6 @@
|
|||
const EntryCollection = require('../collections/entry-collection');
|
||||
|
||||
const urlPartsRegex = /^(\w+:\/\/)?(?:www\.)?([^\/]+)\/?(.*)/;
|
||||
const urlPartsRegex = /^(\w+:\/\/)?(?:(?:www|wwws|secure)\.)?([^\/]+)\/?(.*)/;
|
||||
|
||||
const AutoTypeFilter = function(windowInfo, appModel) {
|
||||
this.title = windowInfo.title;
|
||||
|
|
Loading…
Reference in New Issue