We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents ce199e6 + 86b667a commit 96e996aCopy full SHA for 96e996a
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