Commit c2bdfde
committed
arborist: sanitize packageName in path construction for linked strategy
Add sanitizeName() to strip path traversal sequences from package names
before using them in filesystem path construction. Applied at all 9
locations where packageName is interpolated into path.join() calls.
Note: this diff includes formatting changes from the project linter.1 parent 1206f8b commit c2bdfde
1 file changed
Lines changed: 486 additions & 388 deletions
0 commit comments