mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-24 02:28:34 +01:00
Merge pull request #244934 from pedrofrazaopacheco/240654-json-wrong-encoding-of-json-schema-url
Fixes microsoft/vscode#240654: Avoid encoding reserved chars in JSON schema URL
This commit is contained in:
@@ -371,7 +371,7 @@ async function startClientWithParticipants(_context: ExtensionContext, languageP
|
||||
// handle content request
|
||||
client.onRequest(VSCodeContentRequest.type, async (uriPath: string) => {
|
||||
const uri = Uri.parse(uriPath);
|
||||
const uriString = uri.toString();
|
||||
const uriString = uri.toString(true);
|
||||
if (uri.scheme === 'untitled') {
|
||||
throw new ResponseError(3, l10n.t('Unable to load {0}', uriString));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user