Fix URI creation from path #3467
Labels
bug
Product bug
ships-in-future-update
The issue is fixed in our 'master' branch and will ship in the next PREVIEW release
Milestone
In 1.26 we discovered that several extensions call the 'vscode.openFolder' command with invalid file URIs:
When creating a URI from a file path, always use
vscode.URI.file(path)
, e.gvscode.URI.file('c:\\test')
Use
vscode.URI.parse(uriString)
when the input string is in the formscheme://authority/path
See microsoft/vscode#57267 for more information or for questions.
The text was updated successfully, but these errors were encountered: