MCPcopy Create free account
hub / github.com/FlowiseAI/Flowise / isUnsafeFilePath

Function isUnsafeFilePath

packages/components/src/validator.ts:69–94  ·  view source on GitHub ↗
(filePath: string)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 5

validator.test.tsFile · 0.90
sanitizeFilenameFunction · 0.90
validateFilenameFunction · 0.85
sanitizeFileNameFunction · 0.85
streamUploadedFileFunction · 0.85

Calls 1

testMethod · 0.80

Tested by

no test coverage detected