ACL header get converted to x-amz-acl #825
Labels
No labels
action
check-aws
action
discussion-needed
action
for-external-contributors
action
for-newcomers
action
more-info-needed
action
need-funding
action
triage-required
kind
correctness
kind
ideas
kind
improvement
kind
performance
kind
testing
kind
usability
kind
wrong-behavior
prio
critical
prio
low
scope
admin-api
scope
background-healing
scope
build
scope
documentation
scope
k8s
scope
layout
scope
metadata
scope
ops
scope
rpc
scope
s3-api
scope
security
scope
telemetry
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: Deuxfleurs/garage#825
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
At this line there is a change of header for the acl : https://git.deuxfleurs.fr/Deuxfleurs/garage/src/branch/main/src/api/s3/post_object.rs#L76.
And then in the code you do some comparison : https://git.deuxfleurs.fr/Deuxfleurs/garage/src/branch/main/src/api/s3/post_object.rs#L192 that would match the ACL header.
But since it was converted to x-amz-acl it's not working (acl != x-amz-acl).
I've did a patch locally to try with the code L76 (I've been running it for a while and everything seems fine).
This issue prevent outline (https://www.getoutline.com/) to work correctly.
I'm not a rust expert so I could be wrong and it could be there for a reason but I don't see how it can work in the current state.
ping @trinity-1686a