From d6e257b1ce41835fed572611919c6850310c3d87 Mon Sep 17 00:00:00 2001 From: Kyle Spearrin Date: Mon, 7 Jan 2019 10:33:20 -0500 Subject: [PATCH] allow launching URLs without protocol than end with tld --- jslib | 2 +- src/popup/components/action-buttons.component.ts | 2 +- src/popup/vault/ciphers.component.ts | 2 +- src/popup/vault/groupings.component.ts | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/jslib b/jslib index fc5fcb905f..e7464785e1 160000 --- a/jslib +++ b/jslib @@ -1 +1 @@ -Subproject commit fc5fcb905fe465e99e85540f6b645c0f11b6704d +Subproject commit e7464785e134e5d723a4901cf54c5dd1668efb5c diff --git a/src/popup/components/action-buttons.component.ts b/src/popup/components/action-buttons.component.ts index 89e250c48c..d09260f8d4 100644 --- a/src/popup/components/action-buttons.component.ts +++ b/src/popup/components/action-buttons.component.ts @@ -40,7 +40,7 @@ export class ActionButtonsComponent { } this.analytics.eventTrack.next({ action: 'Launched URI From Listing' }); - BrowserApi.createNewTab(this.cipher.login.uri); + BrowserApi.createNewTab(this.cipher.login.launchUri); if (this.popupUtilsService.inPopup(window)) { BrowserApi.closePopup(window); } diff --git a/src/popup/vault/ciphers.component.ts b/src/popup/vault/ciphers.component.ts index e270bc6356..ace3c41c30 100644 --- a/src/popup/vault/ciphers.component.ts +++ b/src/popup/vault/ciphers.component.ts @@ -188,7 +188,7 @@ export class CiphersComponent extends BaseCiphersComponent implements OnInit, On } this.preventSelected = true; this.analytics.eventTrack.next({ action: 'Launched URI From Listing' }); - BrowserApi.createNewTab(cipher.login.uri); + BrowserApi.createNewTab(cipher.login.launchUri); if (this.popupUtils.inPopup(window)) { BrowserApi.closePopup(window); } diff --git a/src/popup/vault/groupings.component.ts b/src/popup/vault/groupings.component.ts index e27485f2af..776b6b5661 100644 --- a/src/popup/vault/groupings.component.ts +++ b/src/popup/vault/groupings.component.ts @@ -271,7 +271,7 @@ export class GroupingsComponent extends BaseGroupingsComponent implements OnInit } this.preventSelected = true; this.analytics.eventTrack.next({ action: 'Launched URI From Listing' }); - BrowserApi.createNewTab(cipher.login.uri); + BrowserApi.createNewTab(cipher.login.launchUri); if (this.popupUtils.inPopup(window)) { BrowserApi.closePopup(window); }