You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Opening link in Markdown file wrongly decodes %2F #106097
bugIssue identified by VS Code Team member as probable bughelp wantedIssues identified as good community contribution opportunitiesmarkdown-extThe Markdown extension: language features and preview
Paste a link including %2F, e.g. [test](https://example.com/This%20is%20a%20test%20with%2F%20in%20the%20URL)
Ctrl-Click or Cmd-Click the https link and open it in a browser
The %2F is wrongly decoded before the URL is handed to the browser
(This does not occur when clicking the link in the Markdown preview.)
VS Code version: Code 1.47.3 (91899dc, 2020-07-23T13:12:49.994Z)
OS version: Windows_NT x64 10.0.18363
Based on #79474 and #83645, I think this is a limitation of vscode.Uri and not something we can easily work around in the markdown extension (right now we use vscode.Uri.parse but I also tried using .with, which seems to cause its own set of issues)
I'm going to close this issue since it has not gotten much attention since it was opened, but if anyone still wants to try looking into this, we'd still take PRs
bugIssue identified by VS Code Team member as probable bughelp wantedIssues identified as good community contribution opportunitiesmarkdown-extThe Markdown extension: language features and preview
Activity
jeanp413 commentedon Sep 7, 2020
I was taking a look at this and found this is related to #85930
tomerstav commentedon Sep 12, 2020
Seems to be related to a larger issue #79474
mjbvz commentedon Oct 19, 2021
Based on #79474 and #83645, I think this is a limitation of
vscode.Uriand not something we can easily work around in the markdown extension (right now we usevscode.Uri.parsebut I also tried using.with, which seems to cause its own set of issues)I'm going to close this issue since it has not gotten much attention since it was opened, but if anyone still wants to try looking into this, we'd still take PRs