mirror of
https://github.com/Dokploy/dokploy.git
synced 2026-06-15 20:25:23 +02:00
[autofix.ci] apply automated fixes
This commit is contained in:
@@ -670,7 +670,9 @@ export const uploadFileToContainer = async (
|
||||
}
|
||||
|
||||
if (!destinationPathRegex.test(destinationPath)) {
|
||||
throw new Error("Invalid destination path: shell metacharacters are not allowed");
|
||||
throw new Error(
|
||||
"Invalid destination path: shell metacharacters are not allowed",
|
||||
);
|
||||
}
|
||||
|
||||
const normalizedPath = destinationPath.startsWith("/")
|
||||
|
||||
Reference in New Issue
Block a user