We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 61b42a3 commit 86b667aCopy full SHA for 86b667a
src/vs/editor/browser/services/openerService.ts
@@ -216,8 +216,8 @@ export class OpenerService implements IOpenerService {
216
// open the url-string AS IS
217
href = resource;
218
} else {
219
- // open URI via "new URL(...).href encoding"
220
- href = new URL(externalUri.toString(true)).href;
+ // open URI using the toString(noEncode)+encodeURI-trick
+ href = encodeURI(externalUri.toString(true));
221
}
222
223
if (options?.allowContributedOpeners) {
0 commit comments