You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
asWebviewUri doesn't return the correct Uri when remote authority is localhost:[port] #130151
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
Activity
mjbvz commentedon Aug 20, 2021
Does this reproduce in the latest VS Code insiders build?
jsjoeio commentedon Aug 23, 2021
Hmm...I'm not sure how to reproduce this in Insiders 🤔 This only happens when running VS Code in the browser.
Is there a way to run Insiders as a web app? That would recreate the environment for me to reproduce.
mjbvz commentedon Aug 23, 2021
You can run
yarn webfrom a local build or for codes-spaces / github.dev, click on the gear and selectswitch to insidersjsjoeio commentedon Aug 23, 2021
I couldn't reproduce, but I did a test to make sure it works as expected.
mjbvz commentedon Aug 23, 2021
Thanks for testing. Let me know if you still see this in VS Code 1.60+