vscode-extensions-open-in-browser icon indicating copy to clipboard operation
vscode-extensions-open-in-browser copied to clipboard

cannot open the correct file when path cotains " - " on windows

Open AnimeDalit97 opened this issue 2 years ago • 2 comments

When I try to open a file: C:\dsad - dsad\z.html The extension will open 3 pages:

  • C:/dsad
  • -
  • dsad/z.html

I can reproduce the bug with some paths that contain " - ".

AnimeDalit97 avatar Sep 21 '22 08:09 AnimeDalit97

For me, it seems to work with Chrome but not Edge? In Chrome the spaces are escaped as %20

algonzalez avatar Jan 10 '23 16:01 algonzalez

Also seeing this on my machine.

jsuddsjr avatar Jan 20 '23 21:01 jsuddsjr