isBlockedTarget
isBlockedTarget(
root,entryPath):boolean
Defined in: packages/core/src/utils/path-security.ts:25
Check if a path built from root + entry would escape root (for zip extraction).
Parameters
Section titled “Parameters”string
entryPath
Section titled “entryPath”string
Returns
Section titled “Returns”boolean