fix match the character . literally (#772)
This commit is contained in:
parent
2709846b46
commit
54dba414f3
|
@ -216,7 +216,7 @@ export default class RuntimeBackground {
|
|||
loginModel.password = queueMessage.password;
|
||||
const model = new CipherView();
|
||||
model.name = Utils.getHostname(queueMessage.uri) || queueMessage.domain;
|
||||
model.name = model.name.replace(/^www./, '');
|
||||
model.name = model.name.replace(/^www\./, '');
|
||||
model.type = CipherType.Login;
|
||||
model.login = loginModel;
|
||||
|
||||
|
|
Loading…
Reference in New Issue