Skip to content

Provide a way to reveal the entire URI in an 'Allow extension to open URI" dialog #239272

@joshspicer

Description

@joshspicer

Does this issue occur when all extensions are disabled?: Yes

  • VS Code Version: 1.97.0-insider (63c0355)
  • OS Version: Windows_NT x64 10.0.26100

The "allow extension to open URI" dialog truncates the URI and doesn't allow a user to inspect it before approval.

From a security point of view a user may want to inspect the entire URI (that's why the prompt is there in the first place, right?) before allowing VS Code to proceed.

I would expect to be able to hover over the URI, or alternatively provide a button to copy the URI back out for inspection. This specific URI was generated programatically, so a user would have no idea its contents.

Image

Steps to Reproduce:

  1. Click on a vscode URI that will trigger this 'open in URI' dialog.

You can do so in Remote - SSH upon failing to connect to a remote, as a part of the 'diagnose with copilot' flow.

  1. Note that you cannot see the entire URI in the trust dialog. Hovering does not reveal the URI
Screen.Recording.2025-01-30.at.3.42.19.PM.mov

Metadata

Metadata

Assignees

Labels

dialogsIssues with native and custom dialogsinsiders-releasedPatch has been released in VS Code Insidersverification-neededVerification of issue is requestedverifiedVerification succeededworkbench-os-integrationNative OS integration issues

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions