fix: normalizeUri SigV4 trailing slash + cleanup debug logs
Deploy FileDrop / deploy (push) Successful in 35s

This commit is contained in:
Claude
2026-07-29 09:16:07 +07:00
parent cd9852a5ec
commit 888af45a7f
2 changed files with 0 additions and 2 deletions
@@ -152,7 +152,6 @@ export const handleS3Request = async (
const method = req.method;
const url = new URL(req.url);
const pathname = url.pathname;
if (pathname !== '/') console.error('S3_REQ:' + method + ' ' + pathname);
const { bucket, key } = virtualHostBucket
? {
bucket: virtualHostBucket,
-1
View File
@@ -329,7 +329,6 @@ export const verifySignature = async (
const expectedSignature = await hmacHex(signingKey, stringToSign);
if (!timingSafeCompare(expectedSignature, parsed.signature)) {
console.error(`SIG: uri=${canonicalUri} signed=${parsed.signedHeaders}`);
return { isValid: false, credential: null, errorCode: 'SignatureDoesNotMatch' };
}