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.
This commit is contained in:
Matthew Rodatus 2020-09-24 09:56:59 -04:00 committed by GitHub
parent b5cc5409ff
commit 3628f44f98
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 0 deletions

View File

@ -14,6 +14,9 @@ const CanLaunchWhitelist = [
'sftp://', 'sftp://',
'irc://', 'irc://',
'vnc://', '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://', 'chrome://',
'iosapp://', 'iosapp://',
'androidapp://', 'androidapp://',