File tree Expand file tree Collapse file tree 6 files changed +50
-50
lines changed Expand file tree Collapse file tree 6 files changed +50
-50
lines changed Original file line number Diff line number Diff line change 66
66
" sqlite3"
67
67
],
68
68
"overrides" : {
69
- "axios" : " 1.10 .0" ,
69
+ "axios" : " 1.12 .0" ,
70
70
"body-parser" : " 2.0.2" ,
71
71
"braces" : " 3.0.3" ,
72
72
"cross-spawn" : " 7.0.6" ,
Original file line number Diff line number Diff line change 83
83
"@zilliz/milvus2-sdk-node" : " ^2.2.24" ,
84
84
"apify-client" : " ^2.7.1" ,
85
85
"assemblyai" : " ^4.2.2" ,
86
- "axios" : " 1.7.9 " ,
86
+ "axios" : " 1.12.0 " ,
87
87
"cheerio" : " ^1.0.0-rc.12" ,
88
88
"chromadb" : " ^1.10.0" ,
89
89
"cohere-ai" : " ^7.7.5" ,
Original file line number Diff line number Diff line change @@ -753,8 +753,8 @@ export const streamStorageFile = async (
753
753
}
754
754
755
755
// Check for path traversal attempts
756
- if ( isPathTraversal ( chatflowId ) ) {
757
- throw new Error ( 'Invalid path characters detected in chatflowId' )
756
+ if ( isPathTraversal ( chatflowId ) || isPathTraversal ( chatId ) ) {
757
+ throw new Error ( 'Invalid path characters detected in chatflowId or chatId ' )
758
758
}
759
759
760
760
const storageType = getStorageType ( )
Original file line number Diff line number Diff line change 87
87
"@types/passport-local" : " ^1.0.38" ,
88
88
"@types/uuid" : " ^9.0.7" ,
89
89
"async-mutex" : " ^0.4.0" ,
90
- "axios" : " 1.7.9 " ,
90
+ "axios" : " 1.12.0 " ,
91
91
"bcryptjs" : " ^2.4.3" ,
92
92
"bullmq" : " 5.45.2" ,
93
93
"cache-manager" : " ^6.3.2" ,
Original file line number Diff line number Diff line change 34
34
"@uiw/codemirror-theme-sublime" : " ^4.21.21" ,
35
35
"@uiw/codemirror-theme-vscode" : " ^4.21.21" ,
36
36
"@uiw/react-codemirror" : " ^4.21.21" ,
37
- "axios" : " 1.7.9 " ,
37
+ "axios" : " 1.12.0 " ,
38
38
"clsx" : " ^1.1.1" ,
39
39
"dompurify" : " ^3.2.6" ,
40
40
"dotenv" : " ^16.0.0" ,
You can’t perform that action at this time.
0 commit comments