You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
At least on node v4/v6, Path.relative returns .. when a directory is compared with its immediate parent. This will cause insideSandbox to return true even though the parent isn't inside the sandbox, since it's looking for ../. I think this can be fixed by just comparing against .. instead; I can't think of any situations where that would cause issues.
The text was updated successfully, but these errors were encountered:
At least on node v4/v6,
Path.relative
returns..
when a directory is compared with its immediate parent. This will causeinsideSandbox
to return true even though the parent isn't inside the sandbox, since it's looking for../
. I think this can be fixed by just comparing against..
instead; I can't think of any situations where that would cause issues.The text was updated successfully, but these errors were encountered: