diff --git a/packages/components/nodes/tools/MCP/core.ts b/packages/components/nodes/tools/MCP/core.ts index 36a26608909..6b6c447292b 100644 --- a/packages/components/nodes/tools/MCP/core.ts +++ b/packages/components/nodes/tools/MCP/core.ts @@ -246,7 +246,7 @@ export const validateCommandInjection = (args: string[]): void => { } export const validateEnvironmentVariables = (env: Record): void => { - const dangerousEnvVars = ['PATH', 'LD_LIBRARY_PATH', 'DYLD_LIBRARY_PATH'] + const dangerousEnvVars = ['PATH', 'LD_LIBRARY_PATH', 'DYLD_LIBRARY_PATH', 'NODE_OPTIONS'] for (const [key, value] of Object.entries(env)) { if (dangerousEnvVars.includes(key)) { diff --git a/packages/server/src/utils/index.ts b/packages/server/src/utils/index.ts index f0b1b35df08..f8b228e0c08 100644 --- a/packages/server/src/utils/index.ts +++ b/packages/server/src/utils/index.ts @@ -1189,10 +1189,7 @@ export const replaceInputsWithConfig = ( continue } } else { - // Skip if it is an override "files" input, such as pdfFile, txtFile, etc - if (typeof overrideConfig[config] === 'string' && overrideConfig[config].includes('FILE-STORAGE::')) { - // pass - } else if (!isParameterEnabled(flowNodeData.label, config)) { + if (!isParameterEnabled(flowNodeData.label, config)) { // Only proceed if the parameter is enabled continue } diff --git a/packages/ui/src/ui-component/extended/OverrideConfig.jsx b/packages/ui/src/ui-component/extended/OverrideConfig.jsx index df1e8732ef7..32397b4b973 100644 --- a/packages/ui/src/ui-component/extended/OverrideConfig.jsx +++ b/packages/ui/src/ui-component/extended/OverrideConfig.jsx @@ -365,7 +365,7 @@ const OverrideConfig = ({ dialogProps }) => { documentation for more information.' + 'Enable or disable which properties of the flow configuration can be overridden. Refer to the documentation for more information.' } /> diff --git a/packages/ui/src/views/vectorstore/VectorStoreDialog.jsx b/packages/ui/src/views/vectorstore/VectorStoreDialog.jsx index 658db8c2c29..83277ac5002 100644 --- a/packages/ui/src/views/vectorstore/VectorStoreDialog.jsx +++ b/packages/ui/src/views/vectorstore/VectorStoreDialog.jsx @@ -578,7 +578,7 @@ formData.append("openAIApiKey[openAIEmbeddings_0]", "sk-my-openai-2nd-key")` here {' '}