Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Object metadata parsing #274

Closed
jonaustin09 opened this issue Oct 4, 2023 · 0 comments
Closed

Object metadata parsing #274

jonaustin09 opened this issue Oct 4, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@jonaustin09
Copy link
Contributor

jonaustin09 commented Oct 4, 2023

Describe the bug
When creating a new object with metadata, the action stores metadata keys first letter capitalized.

To Reproduce

aws --endpoint-url http://localhost:7070 s3api put-object --bucket my-bucket --key foo --metadata key=val,key1=val1

*Result

{
  "Key": "val",
  "Key1": "val1"
}

Expected behavior
It has to store all the keys as they are, without any string modifications. The resulting metadata of the above call, when getting the object has to be the following:

{
  "key": "val",
  "key1": "val1"
}
@jonaustin09 jonaustin09 added the bug Something isn't working label Oct 4, 2023
@jonaustin09 jonaustin09 changed the title GetObject metadata Object metadata parsing Oct 5, 2023
jonaustin09 added a commit that referenced this issue Oct 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant