From 54dba414f3ca58441aca75f816a02d70ace6a02c Mon Sep 17 00:00:00 2001 From: Bogdan Date: Mon, 12 Nov 2018 15:15:05 +0200 Subject: [PATCH] fix match the character . literally (#772) --- src/background/runtime.background.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/background/runtime.background.ts b/src/background/runtime.background.ts index e56ec687d1..ceb6f6276d 100644 --- a/src/background/runtime.background.ts +++ b/src/background/runtime.background.ts @@ -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;