Skip to content

asWebviewUri doesn't return the correct Uri when remote authority is localhost:[port] #130151

@jsjoeio

Description

@jsjoeio

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

  • VS Code Version: 1.58.2
  • OS Version: macOS 11.4

Steps to Reproduce:

I wrote a test case inside VS Code which reproduces the error. Then I added a patch which fixes it.

This is what asWebviewUri currently returns (bug) https://vscode-remote%2Blocalhost:8080.vscode-resource.vscode-webview.net/Users/codey/file.html and then is what it should return with the fix https://vscode-remote%2Blocalhost.vscode-resource.vscode-webview.net:8080/Users/codey/file.html

Metadata

Metadata

Assignees

Labels

*not-reproducibleIssue cannot be reproduced by VS Code Team member as described

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions