Repository navigation
Closed
Closed
Copy link
Labels
bugIssue identified by VS Code Team member as probable bughelp wantedIssues identified as good community contribution opportunitiesinsiders-releasedPatch has been released in VS Code Insidersmarkdown-extThe Markdown extension: language features and previewverifiedVerification succeeded
Milestone
Description
Issue Type: Bug
- Open a new file
- (!important) Set file type to Markdown
- Create a markdown link with a query string name-value pair containing an equals sign ("=") like
[example](https://www.example.com?encoded=unnecessarily) - Hover over the url (i.e. "https://www.example.com?encoded=unnecessarily") to engage the Follow Link tooltip
- Click "Follow link" link
- Observe that the browser address bar shows an encoded equals sign ("=") in the url (i.e. "https://www.example.com/?encoded%3Dunnecessarily")
I cannot reproduce this issue with online monarch-editor (https://microsoft.github.io/monaco-editor/index.html) if that helps.
VS Code version: Code 1.50.0 (93c2f0f, 2020-10-07T06:10:52.432Z)
OS version: Windows_NT x64 10.0.19042
System Info
| Item | Value |
|---|---|
| CPUs | Intel(R) Core(TM) i7-1065G7 CPU @ 1.30GHz (8 x 1498) |
| GPU Status | 2d_canvas: enabled flash_3d: enabled flash_stage3d: enabled flash_stage3d_baseline: enabled gpu_compositing: enabled multiple_raster_threads: enabled_on oop_rasterization: disabled_off opengl: enabled_on protected_video_decode: enabled rasterization: enabled skia_renderer: disabled_off_ok video_decode: enabled vulkan: disabled_off webgl: enabled webgl2: enabled |
| Load (avg) | undefined |
| Memory (System) | 31.60GB (19.88GB free) |
| Process Argv | --crash-reporter-id 482ad8b0-81a6-4635-87db-d66b654487d1 |
| Screen Reader | no |
| VM | 0% |
Extensions (7)
| Extension | Author (truncated) | Version |
|---|---|---|
| gitlens | eam | 10.2.2 |
| prettier-vscode | esb | 5.7.1 |
| vscode-docker | ms- | 1.6.0 |
| remote-containers | ms- | 0.145.0 |
| vscode-typescript-tslint-plugin | ms- | 1.2.3 |
| debugger-for-chrome | msj | 4.12.11 |
| debugger-for-edge | msj | 1.0.15 |
Metadata
Metadata
Assignees
Labels
bugIssue identified by VS Code Team member as probable bughelp wantedIssues identified as good community contribution opportunitiesinsiders-releasedPatch has been released in VS Code Insidersmarkdown-extThe Markdown extension: language features and previewverifiedVerification succeeded
Activity
jeanp413 commentedon Oct 20, 2020
I think this is a duplicate of #106097
peter-fb commentedon Nov 18, 2020
YouTube links in Markdown don't longer work because of this bug. YouTube will redirect you to their homepage because it can't find the video.
chenjigeng commentedon Dec 16, 2020
The reason for this problem is that if you pass in a URI link, it'll call the toString function to display it .And the toString function of the URI will by default encode.
https://github.com/microsoft/vscode/blob/master/src/vs/base/common/uri.ts#L372
So is there a need for encode? If not, we can solve this problem by toString(true). Matt Bierner (@mjbvz)