From 3628f44f98d611a7f3e7debbf15d0ba993399ae4 Mon Sep 17 00:00:00 2001 From: Matthew Rodatus Date: Thu, 24 Sep 2020 09:56:59 -0400 Subject: [PATCH] Add Microsoft RDP URI schemes (#180) This will allow users to launch the Remote Desktop client directly from Bitwarden if their OS supports the URI scheme. Per https://docs.microsoft.com/en-us/windows-server/remote/remote-desktop-services/clients/remote-desktop-uri, rdp:// is legacy and ms-rd: is the preferred one. I'm adding both so that either can be used as ms-rd: is not available on all versions of Windows and rdp:// is easier to add as a custom URI scheme in Windows 10 if it is desired. --- src/models/view/loginUriView.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/models/view/loginUriView.ts b/src/models/view/loginUriView.ts index 7ef9fa092e6..eab4806b406 100644 --- a/src/models/view/loginUriView.ts +++ b/src/models/view/loginUriView.ts @@ -14,6 +14,9 @@ const CanLaunchWhitelist = [ 'sftp://', 'irc://', 'vnc://', + // https://docs.microsoft.com/en-us/windows-server/remote/remote-desktop-services/clients/remote-desktop-uri + 'rdp://', // Legacy RDP URI scheme + 'ms-rd:', // Preferred RDP URI scheme 'chrome://', 'iosapp://', 'androidapp://',