Skip to content

Commit

Permalink
Revert "fix #140907"
Browse files Browse the repository at this point in the history
This reverts commit a81c3b0.
  • Loading branch information
jrieken committed Feb 1, 2022
1 parent 61b42a3 commit 86b667a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/vs/editor/browser/services/openerService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -216,8 +216,8 @@ export class OpenerService implements IOpenerService {
// open the url-string AS IS
href = resource;
} else {
// open URI via "new URL(...).href encoding"
href = new URL(externalUri.toString(true)).href;
// open URI using the toString(noEncode)+encodeURI-trick
href = encodeURI(externalUri.toString(true));
}

if (options?.allowContributedOpeners) {
Expand Down

0 comments on commit 86b667a

Please sign in to comment.