fix: santinize the upload filename (#6159)

This commit is contained in:
Roy
2025-12-29 11:32:14 +08:00
committed by GitHub
parent 4ea50bc38d
commit 29f61abcd3
6 changed files with 77 additions and 4 deletions
@@ -31,7 +31,6 @@ import { postTextCensor } from '../../../../chat/postTextCensor';
import type { FlowNodeInputItemType } from '@fastgpt/global/core/workflow/type/io';
import type { McpToolDataType } from '@fastgpt/global/core/app/tool/mcpTool/type';
import type { JSONSchemaInputType } from '@fastgpt/global/core/app/jsonschema';
import { getFileS3Key } from '../../../../../common/s3/utils';
type Response = DispatchNodeResultType<{
[NodeOutputKeyEnum.answerText]: string;