fix: v4 auth signature to only use specified signed headers

This commit is contained in:
Ben McClelland
2023-06-06 13:28:17 -07:00
parent 8f27e88198
commit 1717d45664
5 changed files with 31 additions and 107 deletions
+4 -1
View File
@@ -79,7 +79,10 @@ func (c S3ApiController) GetActions(ctx *fiber.Ctx) error {
}
res, err := c.be.GetObject(bucket, key, acceptRange, ctx.Response().BodyWriter())
return Responce(ctx, res, err)
if err != nil {
return Responce(ctx, res, err)
}
return nil
}
func (c S3ApiController) ListActions(ctx *fiber.Ctx) error {