TASK22019: phase 9 harden file handlers hash guards and negative paths

This commit is contained in:
2026-03-13 12:17:51 +00:00
parent 51269db849
commit c73313b0fa
7 changed files with 340 additions and 75 deletions
+3 -3
View File
@@ -134,7 +134,7 @@ export const uploadFiles = async (
const config = {
method: "post",
url: queryUrl,
url: queryUrl + hashAPIPath(queryUrl),
data: formData,
headers: { "content-type": "multipart/form-data" }
};
@@ -162,7 +162,7 @@ export const uploadSingleFile = async (filesObj, containerID, casefolderID) => {
const config = {
method: "post",
url: queryUrl,
url: queryUrl + hashAPIPath(queryUrl),
data: formData,
headers: { "content-type": "multipart/form-data" }
};
@@ -191,7 +191,7 @@ export const uploadRepFiles = async (
const config = {
method: "post",
url: queryUrl,
url: queryUrl + hashAPIPath(queryUrl),
data: formData,
headers: { "content-type": "multipart/form-data" }
};