mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-08 08:41:23 +00:00
fix: harden workspace boundary path resolution
This commit is contained in:
@@ -71,7 +71,7 @@ export async function assertSandboxPath(params: {
|
||||
};
|
||||
await assertNoPathAliasEscape({
|
||||
absolutePath: resolved.resolved,
|
||||
rootPath: path.resolve(params.root),
|
||||
rootPath: params.root,
|
||||
boundaryLabel: "sandbox root",
|
||||
policy,
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user