mirror of
https://github.com/l0ng-ai/openidea.git
synced 2026-11-21 00:03:52 +00:00
The plugin sandbox resolved a requested path, which on Windows opens it, before checking whether it was allowed, so a network path (UNC or verbatim UNC) or a pipe or device path (\\.\pipe, GLOBALROOT) was opened and connected to before being refused. Every resolver now judges the path from its text first: devices, pipes, NTFS streams and reserved device names are always refused on Windows, a network path is resolved only under the allowed root or grant, and local paths go on to the existing real-path checks. workspace.project-of uses the same check. Co-authored-by: rohitdanda <10144914+rohitdanda@users.noreply.github.com>
28 lines
882 B
TOML
28 lines
882 B
TOML
[package]
|
|
name = "ide-plugin"
|
|
description = "WebAssembly runtime for plugins (wasmtime component model + WASI preview 2)"
|
|
version.workspace = true
|
|
edition.workspace = true
|
|
license.workspace = true
|
|
|
|
[dependencies]
|
|
ide-core.workspace = true
|
|
dunce.workspace = true
|
|
ide-extension.workspace = true
|
|
blake3.workspace = true
|
|
serde.workspace = true
|
|
serde_json.workspace = true
|
|
specta.workspace = true
|
|
thiserror.workspace = true
|
|
tracing.workspace = true
|
|
parking_lot.workspace = true
|
|
semver = "1"
|
|
url = "2"
|
|
wasmtime = { version = "49.0.4", default-features = false, features = ["runtime", "cranelift", "component-model", "std", "parallel-compilation", "async"] }
|
|
wasmtime-wasi = { version = "49.0.4", default-features = false, features = ["p2"] }
|
|
|
|
[dev-dependencies]
|
|
tempfile.workspace = true
|
|
tokio = { workspace = true, features = ["rt-multi-thread", "macros", "time", "net"] }
|
|
wat = "1.258"
|