microsoft / vscode

Visual Studio Code
https://code.visualstudio.com
MIT License
164.61k stars 29.42k forks source link

remote: broaden URI identification on openExternal #234380

Closed connor4312 closed 18 hours ago

connor4312 commented 18 hours ago

I want to protocol-activate copilot in a remote workspace using openExternal, but I observed the URI was being treated as a path and malformed. This change broadens the URI identification logic to accept anything that looks like a protocol. I think this is okay since we were already excluding file URIs from the rebase, so this really just impacts any other esoteric URIs in addition to the product urlProtocol.

fyi @alexdima