b7ff97181dc0a7fa9baa29b8ad46b7c1b29bba4d
ListBuckets ignored bucket-region: a value that is not a region was accepted, and a region other than the gateway one still listed every bucket. S3 rejects an invalid value with 400 InvalidArgument, "Argument value abc is not a valid AWS Region", and lists only the buckets of the requested region. Check bucket-region against the AWS region code format, always accepting the gateway region whatever its name, and return an empty list for any other region, since every bucket lives in the gateway region. Enable the REST tests that cover both cases. Fixes #1923 Fixes #1930
Description
My contributions to versity/versitygw: 24 commits, 11 merged PRs
345 KiB
0 Stars
1 Watchers
0 Forks
Languages
Go
95.9%
Shell
4.1%