mirror of
https://github.com/n8n-io/n8n.git
synced 2026-10-17 13:39:44 +02:00
fix(core): Fix broken safeJoinPath implementation in community nodes scanner (no-changelog) (#20213)
This commit is contained in:
parent
6e39a0d3b8
commit
46bb5593ad
|
|
@ -46,6 +46,8 @@ export function safeJoinPath(parentPath, ...paths) {
|
|||
`Path traversal detected, refusing to join paths: ${parentPath} and ${JSON.stringify(paths)}`,
|
||||
);
|
||||
}
|
||||
|
||||
return candidate;
|
||||
}
|
||||
|
||||
export const resolvePackage = (packageSpec) => {
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user