ACL header get converted to x-amz-acl #825
Labels
No labels
AdminAPI
Bug
Check AWS
CI
Correctness
Critical
Documentation
Ideas
Improvement
Low priority
Newcomer
Performance
S3 Compatibility
Testing
Usability
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