Skip to content

fix #276579#276590

Merged
sandy081 merged 1 commit intomainfrom
sandy081/cute-perch
Nov 10, 2025
Merged

fix #276579#276590
sandy081 merged 1 commit intomainfrom
sandy081/cute-perch

Conversation

@sandy081
Copy link
Member

fix #276579

Copilot AI review requested due to automatic review settings November 10, 2025 20:22
@sandy081 sandy081 enabled auto-merge (squash) November 10, 2025 20:22
@sandy081 sandy081 self-assigned this Nov 10, 2025
@vs-code-engineering vs-code-engineering bot added this to the November 2025 milestone Nov 10, 2025
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR fixes issue #276579 by adding URI encoding to the name parameter in the getLatestServerVersionUrl method to properly handle special characters when constructing URLs.

  • Applies encodeURIComponent to the name parameter before passing it to the URI template
Comments suppressed due to low confidence (3)

src/vs/platform/mcp/common/mcpGalleryService.ts:1022

  • The name parameter should be URI-encoded using encodeURIComponent(name) to handle special characters consistently with getLatestServerVersionUrl on line 1038. Server names with special characters could result in malformed URLs.
		return format2(namedResourceUriTemplate, { name });

src/vs/platform/mcp/common/mcpGalleryService.ts:1046

  • The name parameter should be URI-encoded using encodeURIComponent(name) to handle special characters consistently with getLatestServerVersionUrl on line 1038. Server names with special characters could result in malformed URLs.
		return format2(resourceUriTemplate, { name });

src/vs/platform/mcp/common/mcpGalleryService.ts:1054

  • The name parameter should be URI-encoded using encodeURIComponent(name) to handle special characters consistently with getLatestServerVersionUrl on line 1038. Publisher names with special characters could result in malformed URLs.
		return format2(resourceUriTemplate, { name });

@sandy081 sandy081 merged commit f15832e into main Nov 10, 2025
33 of 34 checks passed
@sandy081 sandy081 deleted the sandy081/cute-perch branch November 10, 2025 21:05
Kosta-Github added a commit to Kosta-Github/vscode that referenced this pull request Nov 11, 2025
…nal-tooltips-markdown

* 'main' of https://github.com/microsoft/vscode: (56 commits)
  edits: show diff for sensitive edit confirmations (microsoft#276620)
  Enable Back button on the Manage Accounts picker (microsoft#276622)
  Ignore obsolete chat content parts when loading persisted session (microsoft#276615)
  settings cleanup (microsoft#276602)
  Remove unused `args: any` parameter
  Terminal suggest - include persistent options in suggestions and improve suggestion grouping (microsoft#276409)
  fix selections not being added (microsoft#276600)
  Embed AI search into the existing search view message (microsoft#276586)
  Cleanup some eslint exemptions (microsoft#276581)
  fix microsoft#276579 (microsoft#276590)
  SCM - cleanup some more eslint rules (microsoft#276571)
  Bump gpu types and skip lib check for gpu typing issue
  Fix in smoke tests
  Remove `forChatSessionTypeAndId`
  Fix one more import
  detect `press any/a key` and ask if user wants to send `a` to terminal (microsoft#276554)
  Filter subagent and todo tools from subagent requests (microsoft#276553)
  Expand hover setting to allow for key modifier mode (microsoft#274001)
  Allow partial monacoEnvironment.getWorker/getWorkerUrl
  Update imports
  ...
@vs-code-engineering vs-code-engineering bot locked and limited conversation to collaborators Dec 25, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

VS Code Insiders Install/Registry Links Broken for all servers – Likely URL Encoding Issue

3 participants