ide на основе vs code
Это ide на основе vs code(code oss), в ней будет встроенный умный апи роутинг, свой маркет с плагинами(агент харнесс, поддержка java/kotlin/мобильной разработки, командная разработка проектов, orca, оркестратор агентов
Это ide на основе vs code(code oss), в ней будет встроенный умный апи роутинг, свой маркет с плагинами(агент харнесс, поддержка java/kotlin/мобильной разработки, командная разработка проектов, orca, оркестратор агентов
/*---------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
*--------------------------------------------------------------------------------------------*/
import { Uri } from 'vscode';
import { expect, suite, test } from 'vitest';
import { isUriContained, resolveProjectFileUri } from '../newWorkspaceFollowup';
/**
* Unit tests for the path-traversal containment helper guarding the
* "Create Workspace" file-write loop. This is the runtime defense-in-depth
* for the MSRC-reported path traversal in the new-workspace flow.
*/
suite('isUriContained', () => {
const parent = Uri.file('/home/u/proj');
test('accepts paths at or within the parent folder', () =>
parent parent
parent Uri
parent Uri
parent Uri
parent Uri
parent Uri
parent Uri
remoteParent Uri
localChild Uri
remoteParent localChild
otherHost Uri
remoteParent otherHost
sameHostChild Uri
remoteParent sameHostChild
withSlash parent path parentpath
withSlash Uri
withSlash Uri
workspaceUri Uri
fileUri workspaceUri
fileUripath
fileUri workspaceUri
fileUripath
fileUri workspaceUri
workspaceUri fileUri
baseUri Uri
UribaseUri path
copilotBase Uri
UricopilotBase path