SudoKillMe / vscode-extensions-open-in-browser

81 stars 42 forks source link

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

Open AnimeDalit97 opened 1 year ago

AnimeDalit97 commented 1 year ago

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

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

algonzalez commented 1 year ago

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

jsuddsjr commented 1 year ago

Also seeing this on my machine.