fix: webdav MOVE/COPY escaping bug
Docker Image CI / build-and-push-image (push) Has been cancelled
Maintain Release Merge PR / update-release-pr (push) Has been cancelled
release-please / release-please (push) Has been cancelled
test / test (18.x) (push) Has been cancelled
test / test (20.x) (push) Has been cancelled
test / test (22.x) (push) Has been cancelled

This commit is contained in:
ProgrammerIn-wonderland
2025-09-08 11:45:51 -04:00
parent bd818d86be
commit 72e66da8a1
+2
View File
@@ -939,6 +939,7 @@ async function handleWebDavServer(filePath, req, res) {
res.status(400).end('Bad Request: Invalid destination URI');
return;
}
destinationPath = decodeURI(destinationPath);
// Parse Overwrite header (T = true, F = false, default = T)
const overwriteHeader = req.headers.overwrite;
@@ -1034,6 +1035,7 @@ async function handleWebDavServer(filePath, req, res) {
res.status(400).end('Bad Request: Invalid destination URI');
return;
}
destinationPath = decodeURI(destinationPath);
// Parse Overwrite header (T = true, F = false, default = T)
const overwriteHeader = req.headers.overwrite;