TASK22019: phase 9 harden file handlers hash guards and negative paths
This commit is contained in:
@@ -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" }
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user