fix match the character . literally (#772)

This commit is contained in:
Bogdan 2018-11-12 15:15:05 +02:00 committed by Kyle Spearrin
parent 2709846b46
commit 54dba414f3
1 changed files with 1 additions and 1 deletions

View File

@ -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;